i've tried using the function xmltocursor, i immeditately get the
error XML Parse error: Invalid at the top level of the document. Line
1, Position 1. As i didn't know what was wrong with the XML, i created
a new xml from a cursor using the cursortoxml function, worked fine,
tried the xmltocursor function on this new file and get the same
error.
What am i doing wrong?
Thanks!
Rotsj
CURSORTOXML("sample","sample.xml",3,512)
XMLTOCURSOR("sample.xml","test",512)
The most common error is not specifying the 512 parameter which says the
input/output is to a file.
For example, if you leave off the 512 parameter,
XMLTOCURSOR("sample.xml","test") will generate the exact error you've seen.
--
Fred
Microsoft Visual FoxPro MVP
"Rotsj" <r.knip...@home.nl> wrote in message
news:1182005663.6...@q75g2000hsh.googlegroups.com...