I am trying to merge 2 xml files in to one. They simply need to one another. Any help would be appreciated.
File 1:
<?xml version="1.0" encoding="ISO-8859-1"?>
<catalog>
<data>
<title>Title1</title>
<description>Description1</description>
</data>
<data>
<title>Title2</title>
<description>Description2</description>
</data>
</catalog>
File 2:
<?xml version="1.0" encoding="ISO-8859-1"?>
<catalog>
<data>
<title>Title3</title>
<description>Description1</description>
</data>
<data>
<title>Title4</title>
<description>Description2</description>
</data>
</catalog>
Expected result:
<?xml version="1.0" encoding="ISO-8859-1"?>
<catalog>
<data>
<title>Title1</title>
<description>Description1</description>
</data>
<data>
<title>Title2</title>
<description>Description2</description>
</data>
<data>
<title>Title3</title>
<description>Description1</description>
</data>
<data>
<title>Title4</title>
<description>Description2</description>
</data>
</catalog>