xsl-list
[Top] [All Lists]

[xsl] How to merge multiple XML files

2007-05-06 22:17:18
Hi
Would anybody let me know that how to merge multiple xml files within a directory into a single XML file. I have no idea about it.

INPUT
a.xml
<records>
<record id="a1">
...
</record>
<record id="a2">
...
</record>
</records>

b.xml
<records>
<record id="b1">
...
</record>
<record id="b2">
...
</record>
</records>

OUTPUT
c.xml
<records>
<record id="a1">
...
</record>
<record id="a2">
...
</record>
<record id="b1">
...
</record>
<record id="b2">
...
</record>
</records>

thanks
...JSR


--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>