Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to format XML Output
Message
From
14/12/2001 09:42:15
 
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00593639
Message ID:
00594377
Views:
36
Thanks Evan I will give it a try.


>>It appear I need to format the output into HTML using XSL. Have I got the right idea on this.
>
>Since you are already generating XML, just convert that to HTML with XSL. Here is some code.
>
>
>	* display XML with XSL (XML Style sheet)
>	oXML = CREATEOBJECT("Microsoft.XMLDOM")
>	oXML.async = .F.
>	oXML.load("foxcentral.xml")
>	oXSL = CREATEOBJECT("microsoft.xmldom")
>	oXSL.async = .F.
>	oXSL.load("foxcentral.xsl")
>	STRTOFILE(oXML.transformNode(oXSL.documentElement),"foxcentral.htm")
>
>
>
>You can see an example of XSL usage here http://www.evandelay.net/foxcentral.zip
Previous
Reply
Map
View

Click here to load this message in the networking platform