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:
01125924
Vues:
20
>I have no problem importing your XML with XMLTOCURSOR in VFP9SP1. 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
>
>
Yes, that was it for XMLTOCURSOR, thank you.

It works with the xmladapter too:
x = CREATEOBJECT("xmladapter")
?x.LoadXML("c:\documents and settings\mzambrano\desktop\po.xml",.t.)
?x.tables.Count
?x.Tables.Item(1).ToCursor()

Sometimes is just the little details what need to be taken care of.
In both cases indicating that the source was a file was neeeded.

...Y soy feliz, bien feliz, asi lo grito;
Mira, que el mundo sepa, que se sepa:
Soy feliz....                       

...And I'm happy, quite happy, so do I yell it;
Look, so the world knows it, so be known:
I'm happy...
 

Ismael Rivera "Oye cosita linda"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform