Boban,
You can specify inline schema in CURSORTOXML() to preserve field types. For example,
Cursortoxml("test1", "lcXml", 1,0, 0, "1")
>I have made .XML file from table which has fields of type Character, and that fields have only numbers (as characters) typed in.
>
>When I do XMLTOCURSOR(), the fields that should been Characters type (with numbers typed in) are Numeric type, and I want to be as they should be, as Characters type.
>
>How can I preserve fields type in .XML file?
--sb--