>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only