I use cursortoxml() in two different applications like this to produce .xml files:
select A
set fields to field1,field2
cursortoxml(0,"L_XML",1,32)
strtofile(strconv(L_XML,9),"outfile.xml")
set fields off
In application 1, the table names are prepended with the database name like this in the...