You'll need to use a Schema. This is more XML that defines the structure (fields, types, etc) of your XML document. If you look in the help file at the CursorToXML function, it can create this schema for you.
>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?