>>>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-xmland there should be other samples.
If it's not broken, fix it until it is.
My Blog