Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Browsing through nodes in XMLDOM
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00661456
Message ID:
00661503
Vues:
29
I think 3 stars is not enough man! Exactly what i needed, you hit it straight on the head...Many many thanks

>
>Assuming the xml file you're talking about is the one you posted in Message#658658:
>
>loXML = CREATEOBJECT("MSXML2.DOMDocument.3.0")
>loXML.Async = .F.
>* read xml doc
>loXML.loadXML(FILETOSTR("msg658658.xml"))
>
>loRoot = loXML.documentElement
>IF !ISNULL(loRoot)
>
>  * read and display country code
>  loElm = loRoot.selectSingleNode("country")
>  ? "Country code:",loElm.text
>
>  * read and display pick_up_location
>  loElm = loRoot.selectSingleNode("pick_up/pick_up_location")
>  ? "Pick up location:",loElm.text
>
>ENDIF
>
Why do programs stop working correctly as soon as you leave the Fox?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform