Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scanning thru several nodes
Message
From
19/04/2004 09:37:04
 
 
To
19/04/2004 03:27:57
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
00895995
Message ID:
00896090
Views:
11
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform