Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Xml posting (newbie)
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
00856000
Message ID:
00856399
Vues:
24
You can use selectNodes, rather than selectSingleNode, as I have shown elsewhere in this section recently. I'm not sure about your structure, but from memory you want something like this:

loNodeSet = ox.selectNodes("/TransactionBatch/ACHTransaction")

... now you want to iterate through this collection. Each node in the collection can be queried, just like the original document, using selectNodes and selectSingleNode.

FWIW, though, when I do this, in practice I don't do it this way. I run XSLT over the original document to put it into a form that Fox is happier processing. Then I consume the resulting, transformed document, using XMLTOCURSOR(), and continue evaluating the results from there.

HTH,

>L<
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform