Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XMLTOCURSOR() error
Message
From
12/11/2001 13:16:22
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Web Services
Title:
XMLTOCURSOR() error
Miscellaneous
Thread ID:
00580555
Message ID:
00580555
Views:
37
I'm extracting out pieces of an XML file so XMLTOCURSOR will create a table with just the data I want in it.

Here's the XML I've extracted (I've replaced < with [ and > with ]):
[Service]
[Code]003[/Code]
[Description]GROUND[/Description]
[/Service]
XMLTOCURSOR() displays the following error when run on that XML:
......................................................
XML Parse error: Syntax error. node "Service" XML =
[Service]
[Code]003[/Code]
[Description]GROUND[/Description]
[/Service]
......................................................

If I change the XML to this, the error goes away:
[Wrap]
[Service]
[Code]003[/Code]
[Description]GROUND[/Description]
[/Service]
[/Wrap]


IE will open either file. Why do I need 2 levels from XMLTOCURSOR() to run? Is this a requirement of XML or a bug in XMLTOCURSOR()?

Thanks,
Brian
Next
Reply
Map
View

Click here to load this message in the networking platform