Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with XML schema
Message
 
 
À
21/03/2004 23:37:56
Information générale
Forum:
ASP.NET
Catégorie:
XML
Divers
Thread ID:
00888315
Message ID:
00888408
Vues:
13
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform