Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newbie question on processing XML file
Message
De
01/12/2003 10:24:18
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
00854652
Message ID:
00854679
Vues:
32
This message has been marked as a message which has helped to the initial question of the thread.
Hi Dmitry.

How would I process the following XML file?:
<?xml version="1.0"?>
<service>
   <add key="key1" value="value1" />
   <add key="key2" value="value2" />
</service>


The easiest way is to use XMLTOCURSOR like so. Assume that the file is called test.xml:
XMLTOCURSOR( 'test.xml', 'csrtest', 512 )
SCAN
 ? Key
ENDSCAN
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform