Merge First Row using XSLT
Hi
I am new to xslt. I need to convert the xml to to table where first rows is to get merged.
Sample XML:
<Catalog>
<Subject>
<Title>Physics</Title>
<BookList>
<Book Booknumber="1">
<ISBN>1000001</ISBN>
</Book>
<Book Booknumber="2">
<ISBN>1000002</ISBN>
</Book>
<Book Booknumber="3">
<ISBN>1000003</ISBN>
</Book>
</BookList>
</Subject>
<Subject>
<Title>Maths</Title>
<BookList>
<Book Booknumber="1">
<ISBN>1000004</ISBN>
</Book>
<Book Booknumber="2">
<ISBN>1000005</ISBN>
</Book>
<Book Booknumber="3">
<ISBN>1000006</ISBN>
</Book>
</BookList>
</Subject>
</Catalog>
Expected Output
----------------------------------------------------------------------------------
| 100001 |
------------------------------------------------------------------
Physics | 100002 |
------------------------------------------------------------------
| 100003 |
-----------------------------------------------------------------------------------
| 100004 |
-------------------------------------------------------------------
Maths | 100005 |
-------------------------------------------------------------------
| 100006 |
------------------------------------------------------------------------------------
|