Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XML/XSLT Generation from VFP Report
Message
From
04/04/2005 18:12:18
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01001351
Message ID:
01001377
Views:
14
Wayne,

>I want to get VFP to create the XSLT... can I do it?

Your question is a little bit "sparse" on details, but if you're looking for the default XSLT in HTMLListener, look at the GetDefaultUserXSLTAsString method.

You can substitute your own XSLT by simply pointing to an XSLT file in the XSLTUserProcessor property after instantiating an HTMLListener from the FFC\_reportlistener.vcx. For example, here is how I substituted a slightly-modified version of the default XSLT to set the background color to yellow (ewwwww!). It wasn't pretty, but it worked. :-)
oHtml.XsltProcessorUser = ".\Yellow.xslt"
Maybe that will point you in the right direction.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform