Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do i get the data
Message
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
00910376
Message ID:
00910395
Views:
21
yes. at this time i don't need that (maybe later). i just wanted to be sure about how it works.

for me, jumping directly from vfp6 to vfp9, this xml stuff and all the other GREAT fetures in vfp9 open a whole new set of doors in app-development. it's just great!

thanks again for your help!



>Yes, it creates a cursor, which is much more useful than a table ( you can COPY TO from your cursor if you absolutely need a table ).
>
>Jaime
>
>>Thank you Jaime!
>>
>>yes that works and was waht i was looking for. after i posted the message i played around a bit including "XMLTOCURSOR(leresult.item(0).xml, "c:\devfox9\test.dbf")", but that didn't work. so i guess the XMLTOCURSOR() will create a cursor, not a table on the harddrive?!
>>
>>Thank you for your time and help!
>>
>>
>>
>>>Hi
>>>The Web Service is returning XML. You could create an XMLDOM object, load the XML into it, then manually scan the nodes, but you are right to try XMLTOCURSOR, since this makes things much easier to browse the data.
>>>In your sample code, the following will work:
>>>*** run same code until following line
>>>leResult = loUSZip.GetInfoByZIP("79936") && AS XMLDOMNodeList
>>>*** now create the cursor
>>>XMLTOCURSOR(leresult.item(0).xml,"test",4)
>>>browse
>>>
>>>HTH
>>>Jaime
Previous
Reply
Map
View

Click here to load this message in the networking platform