Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to start
Message
De
31/08/2007 08:44:02
 
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01251345
Message ID:
01251657
Vues:
15
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform