Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to generate XML with fieldnames in uppercase ?
Message
From
11/03/2004 12:40:37
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Title:
How to generate XML with fieldnames in uppercase ?
Miscellaneous
Thread ID:
00885284
Message ID:
00885284
Views:
69
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
Next
Reply
Map
View

Click here to load this message in the networking platform