Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XMLAdapter
Message
From
04/02/2003 10:14:17
 
 
To
04/02/2003 02:56:17
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Title:
Miscellaneous
Thread ID:
00748365
Message ID:
00748859
Views:
13
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
Previous
Reply
Map
View

Click here to load this message in the networking platform