Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP to XML
Message
De
28/10/2003 23:17:59
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Titre:
VFP to XML
Divers
Thread ID:
00843913
Message ID:
00843913
Vues:
46
A question from an XML newbee.

I have been trying to use VFP8's xmladapter to convert a VFP cursor into an xml file that conforms to a schema delivered by a client.

This sort of code
select RevealXML_cr
cXMLFile = pcTargetExpFolder+'Reveal_Data.XML'
loXMLAdapter = CREATEOBJECT("XMLAdapter")
loXMLAdapter.AddTableSchema("RevealXML_cr")
loXMLAdapter.ToXML(cXMLFile,,.T.)
produces an XML file that contains both and internal schema and data that reflects my original cursor.

Unfortunately, this doesn't bear a lot of similarity to the client's schema. It seems to me that what I am looking for is some way to map my data to my client's schema. Is XMLAdapter the right animal to do this?

I would appreciate being pointed in the right direction.

TIA
Godfrey Nicholson
Ofek Technologies Ltd
Auckland
New Zealand
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform