Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XML and White Spaces
Message
From
03/12/2004 09:21:58
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00966612
Message ID:
00966673
Views:
9
Eric,

>What is the correct syntax to preserve white space using cursortoxml() when passing the XML to .NET?

If you mean that you want the dataset to import the data from XML and preserve the field widths, you need to embed a schema into the XML by setting the 6th parameter of CURSORTOXML to "1" (create inline schema). This will give the .NET dataset the info it needs to create the fields with the data types and lengths of your original cursor.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Reply
Map
View

Click here to load this message in the networking platform