Thank's to Sergey Berezniker finally I can create my XML correctly, but, in my test I have other problems.
Select * from predios where tipopredio = 1 into cursor cPred
** I get about 128,000 records, 12 fields
CursortoXML("cPred","lcXMLData",1,0,0,"1")
*** Here is ok... slow process but ok
close tabl all
XMLtoCursor(lcXMLData,"cNew")
*** Here my WorkStation Hangs
Have XML Format a limit of Records, is the XMLtoCursor function wrong?, do I need something else?. I can't understand why my computers hangs. I'm using VFP7.0 SP1 on Pentium IV 1.8 Mhz, 512 MB, 40 GB.