Hello all. I am new to XSLT and I cant figure out how to solve this problem:
I have a XML source document looking like this:
<file>
<object>
<name>A</name>
<type>1</type>
</object>
<object>
<name>B</name>
<type>1</type>
</object>
<object>
<name>C</name>
<type>2</type>
</object>
...
</file>
where I only have the <type> 1 and 2 for sure and I dont know how many <objects> I have.
how can I transform it to a table like this using XSLT:
<table>
<tr><th> 1 </td><th> 2 </td></tr>
<tr><td> A </td><td> C </td></tr>
<tr><td> B </td><td> </td></tr>
...
</table>
thanks for all the help