Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scanning thru several nodes
Message
De
19/04/2004 09:37:04
 
 
À
19/04/2004 03:27:57
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
00895995
Message ID:
00896090
Vues:
10
>You can write this by hand and have all under Your control. In VFP this could be:
>
>1. Get XML file into string:
>lcXML = FileToStr("MyFile.xml")
>
>2. Count for all occurings:
>lnMessageTotal = OCCURS("", lcXML)
>
>3. Walk a Message; Get all Message-Elements:
>FOR lnCount = 1 TO lnMessageTotal
> lcMessage = STREXTRACT(lcXML, "", "", lnCount)
>
> * Get all Message Elements:
> lcNoClient = STREXTRACT(lcMessage, "", "")
> lcNoParent = STREXTRACT(lcMessage, "", "")
> lcNoCat = ...
>
> * Do what You need to do with new Strings...
>ENDFOR
>* End.
>
>I hope You'll find this approach as usefull.

Thanks, I'll keep this approach in mind.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform