Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XmlAdapter
Message
From
12/08/2004 00:26:21
 
 
To
11/08/2004 18:29:56
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Title:
Miscellaneous
Thread ID:
00932527
Message ID:
00932577
Views:
12
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform