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

What I want to do is have VFP produce an xslt/xml pair and allow me to use the xslt/xml pair to create a web version of reports. Access does this - and you end up with xml/xsl/asp pages. You can then substitute the xml and have a report that looks similar to what you have in vfp.

I have a large application with hundreds of reports - I want to make some of those reports available over the internet using a xsl transformation methodology. I just don't want to try to create the xsl by hand.

Thoughts?

TIA!
Wayne


>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.
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Reply
Map
View

Click here to load this message in the networking platform