Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create a Node List
Message
 
 
À
06/12/2003 11:12:03
Information générale
Forum:
ASP.NET
Catégorie:
XML
Divers
Thread ID:
00854981
Message ID:
00856654
Vues:
22
Ok, I'm not sure why your message title says "create a node *LIST*" then...

Also, you say this:

----------
2] I have written a VFP prog to take that file convert it to a cursor and then convert it into an XML file (C:\temp\DataImport.xml)
------------

... and I'm not sure why you're bothering to put it into a file first. YOu could just as well do it with a var, I'm assuming you're using cursortoxml() to generate the xml from your cursor?

Either way, you can just do this:

ox = createobject("microsoft.xmldom")
* this is the default representation of the DOM
* on your system -- you can also be specific
* about which class if you like

* now you add your XML:
ox.load("yourfile.xml")
* or ox.loadxml(yourvar)

* ... now you can use stuff like this:
ox.documentelement && this is a node of course

Generally speaking that would be all you had to do.

If you have tried stuff like this and it isn't working for you, please indicate what you tried and how it isn't working and I'll fix <s>

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

Click here to load this message in the networking platform