Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Browsing through nodes in XMLDOM
Message
 
To
26/05/2002 13:22:58
Antonio Lopes (Online)
BookMARC
Coimbra, Portugal
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00661456
Message ID:
00661503
Views:
30
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?
Previous
Reply
Map
View

Click here to load this message in the networking platform