Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XML and White Spaces
Message
De
03/12/2004 09:21:58
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Database:
Visual FoxPro
Divers
Thread ID:
00966612
Message ID:
00966673
Vues:
8
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform