Hi Agustin,
Bob Murphy gave a demo on such VFP code for our user group. This might help you.
http://63.170.86.65/wconnect/wc.dll?PresentationFiles>Hi all,
>
>Reading CODE mag, I found that Markus is returnnig a little piece of XML as response from functions, so an error code, explanation and little more is returned when an error occurs.
>
>I like it and I'm thinking on refactoring some of my apps to use the concept.
>
>I know how to use the XMLDOM to parse XML files/strings but it seems overkill for that little job, What do you think? Is there a lighter piece of VFP code for parsing simple XML?
>
>TIA
>
>Agustin
Charlie