Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to format XML Output
Message
 
 
To
12/12/2001 18:19:20
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00593639
Message ID:
00593855
Views:
33
This message has been marked as a message which has helped to the initial question of the thread.
>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
Next
Reply
Map
View

Click here to load this message in the networking platform