Merging multiple xml files
843834Mar 15 2002 — edited Mar 20 2005How can I merge multiple xml files into one? In my project I am going to be getting
multiple xml files back from differenct locations. What I want to do is combine the xml files into
one and then stuff that through an xslt translation.
Here is an example, say I have
Two xml files:
file a
<fa>
<a name="a1"></a>
<a name="a2"></a>
<a name="a3"></a>
<a name="new"></a>
</fa>
file b
<fb>
<a name="a1"></a>
<a name="a3"></a>
<a name="a4"></a>
</fb>
required output
<res>
<a name="a1"></a>
<a name="a2"></a>
<a name="a3"></a>
<a name="a4"></a>
<a name="new"></a>
</res>