Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Order of records of XMLTOCURSOR()
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01573984
Message ID:
01574032
Views:
40
>Hi,
>
>Can I rely that XMLTOCURSOR() always loads XML elements into the cursor in the same order as they are in the physical file? Or it could be random?

I created a simple text prg with 1000 FOR loops. In each loop I was retrieving an XML via XMLCURSOR() and NOT one time the order was different from the physical order of elements in the XML. So the answer to my questions is Yes and No <g>.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform