Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scanning thru several nodes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
00895995
Message ID:
00896221
Vues:
23
>>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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform