Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XMLToCursor() error
Message
De
23/10/2006 14:05:47
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
01163930
Message ID:
01163951
Vues:
6
Thanks Sergey.
adapter.Tables.Count is 0.

Last question.
If I use CURSORTOXML() to produce my XML file, can it be parsed by anyone, including those that don't use VFP?



>The XMLAdapter will not create XmlTables if there's no XML Schema provided. You can check adapter.Tables.Count.
>
>>I've tried XMLAdapter and it gives me some error also.
>>
>>xFile = "MyXML.xml"
>>adapter = CREATEOBJECT("XMLAdapter")
>>adapter.LoadXML(xFile,.t.)
>>adapter.Tables(1).ToCursor()
>>
>>Give me "Index or expression does not match as existing member of the collection".
>>
The American Republic will endure, until politicians realize they can bribe the people with their own money.
- Alexis de Tocqueville

No man’s life, liberty, or property is safe while the legislature is in session.
– Mark Twain (1866)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform