Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XMLTOCURSOR() error
Message
De
12/11/2001 13:16:22
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Titre:
XMLTOCURSOR() error
Divers
Thread ID:
00580555
Message ID:
00580555
Vues:
38
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform