Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with XML schema
Message
From
21/03/2004 23:35:36
 
 
To
21/03/2004 15:13:27
General information
Forum:
ASP.NET
Category:
XML
Miscellaneous
Thread ID:
00888315
Message ID:
00888402
Views:
9
Hi, Michel.

>However, as I don't have the schema, a lot of fields are not appended ok into my local table. So, I see there is a VB.NET method for the DataSet known as GetXMLSchema(). How would I go to include the schema into my XML so when I do the XMLTOCURSOR() in VFP that everything would be ok?

Before generating your XML from the DataSet, be sure to set this in your DataAdapter:
YourDataAdapter.MissingSchemaAction = MissingSchemaAction.AddWithKey
This will make the trick.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform