This method is between 10-20% faster than the VFPCOM utilities CursorToRS export. To directly load the XML into an ADO recordset use the example listed below.
For full XML format see the XML Structures topic.
o.CursorToADOXML()
Don't use this method to export to XML unless you need to import the result data
into an ADO recordset on the other end. This XML is hard to parse and very
non-standard. Use CursorToXML instead.
Currently there's no way using this class to convert this XML back into a
cursor.
o=create('wwXML')
*** Create the XML and dump to file
lcXML = o.CursorToADOXML()
STRTOFILE(lcXML,'c:\temp\wcado.xml')
*** Open the recordset in ADO
rs = createobject('adodb.recordset')
rs.Open('c:\temp\wcado.xml')
*** Check if all is well!
? rs.recordcount