Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XML in methods
Message
From
16/04/2002 09:54:36
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00645319
Message ID:
00645432
Views:
12
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 !
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform