I have two separate SQL queries and I have to modify both outputs with XSLT transformations. After that I will have 2 .xml files that I have to join into 1. Is it possible to do that?
1st
<rowsets>
<rowset>
<head>
<column align="center" hidden="false" sort="na" type="ro" width="70">col1</column>
<column align="center" hidden="false" sort="na" type="ro" width="80">col2</column>
<column align="center" hidden="false" sort="na" type="ro" width="90">col3</column>
</head>
</rowset>
</rowsets>
2nd
<rowsets>
<rowset>
<head/>
<row id="1">
<cell>1</cell>
<cell>2</cell>
<cell>3</cell>
</row>
<row id="2">
<cell>11</cell>
<cell>22</cell>
<cell>33</cell>
</row>
<row id="3">
<cell>a</cell>
<cell>b</cell>
<cell>c</cell>
</row>
</rowset>
</rowsets>
result
<rowsets>
<rowset>
<head>
<column align="center" hidden="false" sort="na" type="ro" width="70">col1</column>
<column align="center" hidden="false" sort="na" type="ro" width="80">col2</column>
<column align="center" hidden="false" sort="na" type="ro" width="90">col3</column>
</head>
<row id="1">
<cell>1</cell>
<cell>2</cell>
<cell>3</cell>
</row>
<row id="2">
<cell>11</cell>
<cell>22</cell>
<cell>33</cell>
</row>
<row id="3">
<cell>a</cell>
<cell>b</cell>
<cell>c</cell>
</row>
</rowset>
</rowsets>
I do not insist that this should be the fix format, the only thing that "columns" and "rows" are from two separate .xmls.
Thx