Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to generate XML with fieldnames in uppercase ?
Message
De
11/03/2004 12:40:37
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Titre:
How to generate XML with fieldnames in uppercase ?
Divers
Thread ID:
00885284
Message ID:
00885284
Vues:
71
the problem is this:

I have two VFP cursor, in this example. Each of them with some fields.

I need to generate an XML file with the two tables in it. The XML beed to be validated by a XSD schema (which is not under my control).

I Create an XMLAdapater Object.
Then I use the AddTableSchema Method to add the two tables to the XMLAdapter.
Then I can easily use the diferent properties in the XMLAdapter object to personalize the Produced XML to my needs.

I can then Produce the XML out of the XMLAdapater Object and this XML is exactly as it should be to validate.

Well. It is not exactly. The Field Names tags are in LowerCase and the Schema enforces them to be in UpperCase.

How do I do this ?

TIA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform