xsl-list
[Top] [All Lists]

Merging multiple xmls into a single xml

2005-07-15 00:05:14
Hi,

I want to merge multiple xmls into a single xml. Here are the details:

The number of input xmls is not fixed, it may vary. So is it possible
to accept more than one input file to an xsl script?
Alternatively, using -PARAM, can I specify more than one variable to
be passed as command line parameter to xsl script?

Each of this input xml would contain a node:
<module name="x">
  <mod_props height="2" width="3"/>
</module>

Final output xml would look like:
<modulenames>
 <global_mod_prop color="black"/>

<module name="x">
  <mod_props height="2" width="3"/>
</module>

<module name="y">
  <mod_props height="5" width="4"/>
</module>

</modulenames>

any help would be greatly appreciated.

Thanks,
Neelam

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--