[xsl] CALS to XHTML table - rowspan

Subject: [xsl] CALS to XHTML table - rowspan
From: "a kusa akusa8@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 5 Oct 2015 15:39:43 -0000
Hello:

It has been a while since I worked on XSLT. But I have a current issue
that I need to solve with xslt.

I have a CALS table that has @morerows. I have to generate a table
that does not have a rowspan attribute, and generate cells according
to the value of @morerows.

So, my input XML looks like this:

<table>
<tgroup>
<tbody>
<row><entry morerows="2">test 1</entry>
<entry morerows="1">test 2</entry>
<entry morerows="0">test 3</entry>
</row>
<row><entry morerows="0">test 4</entry>
<entry morerows="1">test 5</entry>
<entry morerows="0">test 6</entry>
</row>
</tbody>
</tgroup>
</table>

How do I generate rows/cells based on morerows in xslt?

Any tips is appreciated.

Current Thread