>
>In summary, everything is sound up to obtain the data object, is VFP after all, the problem is the slowly data extraction when the returning data object is COM.
You're probably breaking good Web processing rules of returning only the data you need to the client. Returning lots of little bits of data instead of huge chunks at once goes against good Web design.
XML is not a good transport for huge amounts of data - it'll work but it'll be slow and it can't reaelly be helped. Importing is slow because it has to go through the XML parsers and it's COM interfaces.
If you need better performance on the client you can send the data using ADO style XML ( wwXML::CursorToADOXML() )from the server storing the data to disk and reading it with rs.Load(). This will be blazing fast, but you also won't have a VFP cursor...
Bottom line: if you're passing so much data that XML conversion is slow, you're passing too much!
+++ Rick ---