Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Xmltocursor problem! help!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01236123
Message ID:
01236132
Vues:
15
The XMLTOCURSOR() require MSXML 3.0. You can get the latest version at http://www.microsoft.com/downloads/details.aspx?FamilyID=4a3ad088-a893-4f0b-a932-5e024e74519f&displaylang=en
I would also recommend to use inline schema in CURSORTOXML(). It'll make converting XML back with XMLTOCURSOR() simpler.
CURSORTOXML('cust', 'cust.xml', 1, 512, 0, '1')
What field type are you using to store encrypted data? IIRC, the binary data will only processed correctly by CURSORTOXML() if it's stored in blob or Memo/binary.

>I created an XML file like this:
>
>CURSORTOXML('cust', 'cust.xml', 1, 512, 0, 'cust.xld')
>
>...and now I try to do this:
>
>XMLTOCURSOR("c:\vv\cust.xml","curcust",512)
>
>..and its failing. I have serveral files and they're all failing.
>
>Sometimes I see this: "msxml3.dll: The sytem cannot locate the object specified."
>
>The other problem is that some of the data was encrypted...so I'll see an error
>like "XML Parse error: An invalid character was found in text content. Line 11933, Position 24," - then says the field name and the encrypted jibberish that's there.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform