You can specify to create inline schema in CURSORTOXML() to preserve field names.
lcXml = ""
? Cursortoxml("Products", "lcXml", 1,0, 0, "1")
? Xmltocursor(lcXml, "crsProducts")
>Is there anyway where XMLTOCURSOR can support long field names?
>I have a table in a DBC() with long field names, the in convert it into XML, and back into a cursor, but it changes the names.
>
>Is there any workaround?
--sb--