Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading XML Message
Message
 
 
To
22/05/2008 10:40:57
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01318749
Message ID:
01319018
Views:
22
>>>What was the point of XML again?
>>
>>To give a short answer: eXtensible Markup Language. It's not meant to only store/transfer data for foxpro cursors.
>>
>>Or from the other side: XMLTOCURSOR is not meant to convert any XML to a foxpro cursor.
>>
>>What you have here is a soap message, from which I guess this is a result of a web service request.
>>Have you played with "XML Web Services" of VFP's Task Pane?
>
>Some, but I just kept getting errors.
>
>Yes, this is a SOAP response from a web service. How do I convert that into something usable? If I have to write a parsing routine, then what is the point of the SOAP/XML? I could just as easily parse a flat file. Easier maybe. If there is a standard involved here, then shouldn't there be a standard way of reading the XML?

Without using XMLToCursor (the simplest XML) you may try to use XMLAdapter class.

See one example at http://www.berezniker.com/content/pages/visual-foxpro/loading-xml-web-browser-control-variable and http://www.berezniker.com/content/pages/visual-foxpro/using-xmladapter-create-and-load-nested-xml

and there should be other samples.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform