Are you sure the file being created has XML data in it?
I have found using RAW format is faster than Element based. Most of the time
it's just a hair split. On odd days right after a full moon (I don't have an
actual reproducible scenario yet) the element based has taken more than 3
minutes to XMLToCursor. (17k rows of 1 integer field)
Try this command:
CursorToXML("cursor", lcxmlfile, 3, 512, 0, "1")
"cursor" is the work area name you want to export to XML
lcxmlfile is the variable holding the filename
3 is for RAW format
512 is use lcxmlfile as a filename instead of a variable name for storing
the xml
[these 2 are optional]
0 is for all records
1 is for an inline schema
Tracy
> -----Original Message-----
> From: David Crooks
> Sent: Wednesday, October 18, 2006 9:47 AM
>
> I am using Cursortoxml(0, lcxmlfile, 1, 512) to create a XML
> file. Now I want to create a cursor from that XML file and
> XMLTOCURSOR(GETFILE(),'XMLCurosr') is failing with XML parse
> error. Any ideas? TIA!
>
> David L Crooks
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.