Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with XML schema
Message
From
21/03/2004 23:46:06
 
 
To
21/03/2004 23:37:56
General information
Forum:
ASP.NET
Category:
XML
Miscellaneous
Thread ID:
00888315
Message ID:
00888408
Views:
11
>>Before generating your XML from the DataSet, be sure to set this in your DataAdapter:
>>
>>YourDataAdapter.MissingSchemaAction = MissingSchemaAction.AddWithKey
>>
>
>I tried several routes during the day. One of them was to GetXMLSchema() before GetXML(), put them all together in lcXML and return that. But, again, this is the .NET way so VFP was not able to get all of that. I ended up only returning GetXML() and have VFP to be smart enough to build its own schema, by reading the master files, add that on top of the XML, do a few manipulations and then XMLToCursor().

But generating the schema on the client is like drawing a map based on what other voyager told you about a trip. 8-)

Try using the MissingSchemaAction. It will generate the full schema as VFP needs.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform