>Hi friends
>
>I am creating a XMLAdapter object, I load a xml string and I set a few node values and I want to use the result but..
>
>Where is the result?
>
>I found TOXML method and I said "That's it!" but when I want to use it fails.
>
>1)
>TOXML.(MEMVAR,,.F.) && FUNCTION ARGUMENT VALUE, COUNT OR TYPE IS INVALID...
>
>2)
>TOXML(FILE,,.T.) && YOU CAN'T USE TOXML WHEN A DOCUMENT IS LOADED... Of course is loaded... that's why I want to save it!!!
>
>??
>
>Obviously it is the first time I use this class... I must say I've been very lucky all the day with this... but a crash should appear...
>
>Anyone of you could help me, please?
>
> Héctor
m.YourAdapterObject.IXMLDOMElement.xml holds a representation of the loaded XML. You can save it to a file or store it in a variable.
----------------------------------
António Tavares Lopes