Just give your class a property named cXML and assing your XML string to that property. You read it by referring to the property;
lcXMLString = myObject.cXML
Jim,
I initially wanted to use a property and tried the writeexpression() command to get my XML file into the property and somehow concluded that properties didn't accept multiple line expressions and turned to the writemethod() command instead.
Now that I know it is possible to use a property, my question seems indeed a little bit strange.
Thanks a lot.
Mark
(By the way, your book (with Steve Sawyer) on Effective techniques for App Dev with VFP was the first in a series of Hentzenwerke Publishing Books I bought. I liked it very much)
If everything seems to be going well, you obviously don't know what the hell is going on !