Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XMLAdapter
Message
De
04/02/2003 10:14:17
 
 
À
04/02/2003 02:56:17
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Titre:
Divers
Thread ID:
00748365
Message ID:
00748859
Vues:
14
My bet is to import a file to XMLAdapter that you will need a schema in the XML. So, when you use CursorToXML() pass a "1" as cSchemaName parameter.

BOb


>Hello Doug,
>
>please excuse me, the message of Patrick was my, but my account was blocked.
>
>I got no error message.
>
>I made a simple table and used CURSORTOXML() to make a XML file of this:
>(the brackets are changed by me to place the code here)
>
>(?xml version = "1.0" encoding="Windows-1252" standalone="yes"?)
>(VFPData)
> (person id="1" name="Siegfried" position="Programmer" comment=""/)
> (person id="2" name="Martin" position="Programmer" comment=""/)
> (person id="3" name="Antony" position="Analyst" comment=""/)
>(/VFPData)
>
>But this simple table cannot be loaded with the XMLAdapter. The adapter loads the file and the property IsLoaded is .T., but the tables collection has no members.
>
>Sure, when I export the table with the XMLAdapter, I get a different XML code, but I want to import an XML file not created by the adapter.
>
>What is neccessary to import with the adapter? What are the minimum requirements to be able to import.
>
>Thanx, Siegfried
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform