Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to start
Message
From
31/08/2007 08:44:02
 
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01251345
Message ID:
01251657
Views:
17
Hi Arto.

>I have two directories, one containing XML files like below then I have another directory (SCHEMA) with XSD files (categoryType.xsd, driverStatisticsType.xsd, eventType.xsd, horseStatisticsType.xsd, horseType.xsd, raceFields.xsd, raceType.xsd, result.xsd, startType.xsd). What are XSD files and what do I do with XSD files and VFP and why do I have so many XSD files? (I included result.xsd here)?

An XSD file is kind of like the header in a DBF file: it specifies the structure for the data, such as which elements and attributes are expected and what their data types are. Not sure why there are so many XSD files; perhaps this system supports multiple XML files so there's an XSD for each one.

As far as reading the XML into VFP, you could try using the XMLAdapter class. See the VFP help file or Google "xmladapter vfp" for information. It can't handle all types of XML, so you'll have to experiment.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform