Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XMLToCursor() error
Message
From
23/10/2006 13:06:57
 
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
01163930
Message ID:
01163940
Views:
8
>>I am getting "Invalid at the top level of the document" error message when I issue
>>XMLTOCURSOR('MyXMLFile.xml', 'test').
>>
>>What does this error mean?
>
>Usualy it means that you're loading XML from file w/o specifing 512 as 3rd parameter. As result, the file name you're passing is treated as XML string.

Hi Sergey and Tracy.
Thanks.

By including 512 to my XMLTOCURSOR() call, it does eliminate the error but my cursor is empty. Does this mean that the source XML file is faulty?
The American Republic will endure, until politicians realize they can bribe the people with their own money.
- Alexis de Tocqueville

No man’s life, liberty, or property is safe while the legislature is in session.
– Mark Twain (1866)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform