Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to format XML Output
Message
 
À
12/12/2001 18:19:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00593639
Message ID:
00593855
Vues:
34
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform