Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to selectsinglenodes with attribute value
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
00961280
Message ID:
00961281
Vues:
4
Hi Terry,
oDocument.selectNodes('*/*[@attribute="'+transform(attribute_value)+'"]')
MartinJ

>Using the object:
>ox=CREATEOBJECT("MSXML2.DOMDocument.3.0")
>oDocument=ox.documentelements

>
>THe "resource" tagname is a child of oDocument.childnodes(2).
>the path would be oDocument/resources/resource
>
>I have tried:
>oDocument.selectSingleNode("resource" ;
>child::para[attribute::identifier="RESOURCE_INTRO")

>
>I need guidance on how to point to a node (tag) based of the value of a specific attribute of the node.
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform