Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to format XML Output
Message
De
14/12/2001 09:42:15
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00593639
Message ID:
00594377
Vues:
37
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform