merge two xml using grunt

143 Views Asked by At

how to merge two xml files using grunt.

I need to merge two xml files

A.xml

<?xml version="1.0"?>
<module id="one">
<a>numberone</a>
</module>

B.xml

<?xml version="1.0"?>
<module id="two">
<a>numbertwo</a>
</module>

after merging the xml will be like following c.xml

<?xml version="1.0"?>
<module id="one">
<a>numberone</a>
</module>
<module id="two">
<a>numbertwo</a>
</module>
0

There are 0 best solutions below