Information générale
Titre:
How to generate XML with fieldnames in uppercase ?
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement