Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scanning thru several nodes
Message
 
To
19/04/2004 09:38:00
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
00895995
Message ID:
00896221
Views:
24
>>In case you need it in the future
>>local loXML, loDocument, loNodeList
>>loXML = CREATEOBJECT( "MSXML2.DOMDocument.3.0" )
>>loXML.loadXML( YourXMLDataSourceHere )
>>loDocument = loXML.documentElement
>>loNodeList = loDocument.selectNodes( "Message" )
>>FOR EACH loNode IN loNodeList
>>   *** now you have a loNode object with your content
>>   loElement = loNode.SelectSingleNode("Title")
>>   ? loElement.Text
>>endfor
>>
>
>Thanks, that should be useful.

Glad to help
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