Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XMLTOCURSOR parser error
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00657038
Message ID:
00657319
Views:
35
Leroy,

Is the XML document well-formed? In other words, if you double-click this file and load it into IE, does it show up okay?

Alternatively, do you have some kind of file reference at the top of the XML document?

Could you maybe post a small snippet of the document here?

>Hello everyone!!!!
>
>I am working on an app that has a routine that calls a search form.
>the form has a grid that uses a controlsource, Departments. We have decide to make this departments table an XML File. It works fine as long as I am in development. When I run the app, it tells me:
>
>XML Parse Error:  The System cannot find the path specified.  Line (0), Position (0). (null)
>
>I have included the xml file in the project, in the directory of the calling program, on the network where the data resides and still get nothing.
>
>this is my code
>
>   ** gcRootPath = 'RootDirectoryOnTheNetwork\'
>   XMLTOCURSOR('&gcRootPath.myDeptxml.xml','Departments',512) && this line generates the error
>   INDEX ON ALLTRIM(UPPER(cDeptName)) TAG cDeptname	
>
>
>What am I not doing?
>Thanks in advance
-Chuck Urwiler, MCSD, MCDBA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform