Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unable to parse XML
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
01125912
Message ID:
01125916
Vues:
22
This message has been marked as the solution to the initial question of the thread.
>Hi all
>Both XMLTOCURSOR and the XMLAdapter.loadxml are erroring out:
>
>XML Parse error: Invalid at the top level of the document.
>Line 1, Position 1.
>
>I looked and re-looked and I can't see anything wrong with it.
>What is wrong?

I have no problem importing your XML with XMLTOCURSOR in VFP9SP1 with code below. If you're reading XML from a file, you have to specify 512 flag.
TEXT TO lcXML NOSHOW 
<?xml version="1.0" standalone="yes"?>
...
</NewDataSet>
ENDTEXT

? XMLTOCURSOR(lcXML, "crsXml") 
BROWSE LAST NOWAIT
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform