Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSXML in VFP
Message
 
À
02/07/2002 15:19:23
Fabian Borghi
Xenon Information Technology
Itaparica, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Divers
Thread ID:
00674661
Message ID:
00674669
Vues:
27
This might get you started:
loXml = CreateObject( "MSXML2.DOMDocument.3.0" )
loXml.loadXML( SomeXMLString )
loRoot = loXml.documentElement
if isnull( loRoot )
   wait window "Empty xml string..."
endif
loNode = loRoot.selectSingleNode( "your_node" )
wait window loNode.Text
loNode = loRoot.selectSingleNode( "sometree/some_node" )
wait window loNode.Text
loNodeList = loRoot.selectNodes ("your_node")
for each loNode in loNodeList
   wait window loNode.Text
endfor
HTH

>Hello:
>
>Somebody have an example of MSXML2.DOM in VFP 7.0 ?
>
>Thanks in advance
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