Prueba de esta forma:Cursortoxml( miTabla, "miXml", 1, 1 + 2 + 4 + 8, 0, "1")
Lambaré - Paraguay.Saludos,Víctor.
Converts a Visual FoxPro cursor to XML.
CURSORTOXML(nWorkArea | cTableAlias, cOutput [, nOutputFormat [, nFlags [, nRecords [, cSchemaName [, cSchemaLocation [, cNameSpace ]]]]]]) El primer parámetro adicional (el tercero) un 1: nOutputFormat, 1 – ELEMENTS.Luego nFlags: 1 - Produce unformatted XML as a continuous string. 2 - Enclose empty elements with open and closing elements, for example, <cc04><cc04/>. 4 - Preserve white space in fields. 8 - Wrap Memo fields in CDATA sections. |