Hi!
Try to use the function CursorToXml with the parameter that indicate the VFP to create the XML Schema. The parameters for this is the 6ht parameter.
E.g.:
CURSORTOXML("MyCursor", "MyVar", 1, 0, 0, "1")
The parameter "1" indicate to create a XML Schema.
Good luck!
Bye!
Erick
Força Sempre!
Strength Always!