Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to have vfp cursor or vfp table from a xml file ?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01519336
Message ID:
01519690
Views:
67
This message has been marked as a message which has helped to the initial question of the thread.
Bernhart,

Error "XML schema too compex" means you can't use xmladapter. Period.
In short, you need to use your own routine that would get data from xml file, and piece by piece, and put data into prepared cursors.
You should know in advance how many cursors you need, and how they relate to each other.

What method you use to read xml file and to extract information from there, it depends on your preferences and experience. Among methods are msxml.domdocument and Excel Automation, to name a few. For instance you can open xml file in Excel, and in one worksheet you will get field headers and data.

Hope you understand the idea.

Good Luck
Previous
Reply
Map
View

Click here to load this message in the networking platform