Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with CursorToXML() an back XMLToCursor()
Message
From
29/11/2005 11:22:15
 
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01072858
Message ID:
01072865
Views:
18
Jorge,

>Is there a way to specify to the cursortoxml function to state that thisfield is character en not numeric?

You need to specify to XMLTOCURSOR that it should embed an XML Schema into the XML file, so CURSORTOXML can reference the schema when converting back to a cursor. The sixth parameter as "1" indicates that you want an inline schema:
CURSORTOXML('mytable','myoutput.xml', 1, 512, 0, "1")
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform