Pradeep (archive)
Usenet Archive
- Joined
- Aug 19, 2000
- Messages
- 47
- Reaction score
- 0
Hello,
I need to take a set of input tables and create an XML output file. The format of the XML output must be user-definable and must be intuitive enough for non-techies to use.
input table(s) + SomeSchemaDefinition ==> XML file
I have seen examples of XML file generation with fixed scope. For example, if input table (called customer) is as follows:
Id Name
101 Clark Kent
102 Peter Parker
103 Bruce Banner
The output XML generated is:
<root>
<customer>
<Id>101</Id>
<Name>Clark Kent</Name>
</customer>
<customer>
....
However, the user never had a chance to control the output format. In my case, the user must have the abilitlity to define which columns are attributes and which columns are child elements.
I am wondering if there is a standard that is already in place that I must look at. Any other pointer is appreciated as well. Especially, how are multiple level nestings handled?
Thank you in advance for your help.
Pradeep
I need to take a set of input tables and create an XML output file. The format of the XML output must be user-definable and must be intuitive enough for non-techies to use.
input table(s) + SomeSchemaDefinition ==> XML file
I have seen examples of XML file generation with fixed scope. For example, if input table (called customer) is as follows:
Id Name
101 Clark Kent
102 Peter Parker
103 Bruce Banner
The output XML generated is:
<root>
<customer>
<Id>101</Id>
<Name>Clark Kent</Name>
</customer>
<customer>
....
However, the user never had a chance to control the output format. In my case, the user must have the abilitlity to define which columns are attributes and which columns are child elements.
I am wondering if there is a standard that is already in place that I must look at. Any other pointer is appreciated as well. Especially, how are multiple level nestings handled?
Thank you in advance for your help.
Pradeep