Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XmlAdapter
Message
De
12/08/2004 00:26:21
 
 
À
11/08/2004 18:29:56
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Titre:
Divers
Thread ID:
00932527
Message ID:
00932577
Vues:
13
>I am porting Fox data to XML for use in C#. I have implemented the use of the XmlAdapter object. I select fox data into a cursor, use the AddTableSchema method of the XmlAdapter, an finally call toxml.
>
>Select MyName, MyPhone, MyAge FROM MyTable
>
>This produces my cursor, but I am losing my Casing for the field names. Since XML is case sensitive and I need the data to arrive following the ProperCased schema this is causing a problem.
>
>Is there a simple solution?

Hi Terry,

For each XMLField object remove it from the Fields collection, change its XMLName property to the proper casing (don't forget to convert it to Unicode), add the object back into collection.

Thanks,
Aleksey.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform