Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extracting an XML file to CSV or DBF
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01107438
Message ID:
01107470
Views:
16
Hi, Gerald,

Just off the top of my head...if you're using the VFP OLE DB provider, you could do something like this...
DataSet dsData = new DataSet();
dsData.ReadXml("c:\\MyXMLFile.XML");
Once it's in a dataset, and if you're using the VFP OLE DB Provider, you can scan through the table objects/row objects/column objects and write the data out to a VFP table. (If your program "knows" the eventual structure to the DBF file, you could put CREATE TABLE statements into the .NET code, using the VFP Provider).

Kevin
Previous
Reply
Map
View

Click here to load this message in the networking platform