Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XMLtoCURSOR error
Message
De
14/04/2011 07:53:26
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
14/04/2011 07:27:29
George Lechintan
Independent consultant
Sebes, Roumanie
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01507271
Message ID:
01507278
Vues:
71
>Trying co create a cursor from a memo field that contains a xml structure.
>(The memo field is in fact on a remote view of a Access table).
>
>I tryed to validate the contents with the free validator from http://www.w3schools.com/xml/xml_validator.asp and it gives no errors.However, VFP gives "XML parse error" (image attached).
>
>Any advice is welcome.
>
>Thanks.

Without seeing the XML itself it is hard to tell but based on the partial view in image I would first try:
local xml
xml = textmerge( '<data><< myMemo >></data>' )
XMLToCursor( m.xml, "MyCursor" )
XMLToCursor can process one level (single table) XML. In image looks like there is no root node and directly leaf nodes.

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform