954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

I have to do a vertical span inside the table using morerows="2"

HI All,

I am facing one problem that i have to do a vertical span for the table columns. But i am not getting any way to solve this problem. My input xml is as follows:-

<tabular frame="all" colsep="1" rowsep="1" orient="port" id="ctab1">

<tgroup cols="3" tgroupstyle="tabular" colsep="1" rowsep="1" align="left" charoff="50" char=".">

<colspec colnum="1" colname="1" align="left" colwidth="0.656in" colsep="1">

</colspec>

<colspec colnum="2" colname="2" align="left" colwidth="4.344in" colsep="1">

</colspec>

<colspec colnum="3" colname="3" align="left" colwidth="4.344in" colsep="1">

</colspec>

<tbody valign="top">

<row rowsep="1">

<entry colname="1" morerows="2" rotate="0" valign="top" align="left">

<para>A1</para>

</entry>

<entry colname="2" morerows="0" rotate="0" valign="top" align="left">

<para>B1 </para>

</entry>

<entry colname="3" morerows="0" rotate="0" valign="top" align="left">

<para>C1 </para>

</entry>

</row>

<row rowsep="1">

<entry colname="1" morerows="0" rotate="0" valign="top" align="left">

<para>A2</para>

</entry>

<entry colname="2" morerows="0" rotate="0" valign="top" align="left">

<para>B2</para>

</entry>

<entry colname="3" morerows="0" rotate="0" valign="top" align="left">

<para>C2</para>

</entry>

</row>

<row rowsep="1">

<entry colname="1" morerows="0" rotate="0" valign="top" align="left">

<para>A3</para>

</entry>

<entry colname="2" morerows="0" rotate="0" valign="top" align="left">

<para>B3</para>

</entry>

<entry colname="3" morerows="0" rotate="0" valign="top" align="left">

<para>C3</para>

</entry>

</row>

</tbody>

</tgroup>

</tabular>


And the output should be like that:-

A1 B1 C1
B2 C2
B3 C3


So please provide me any example of xslt that can display this table in WordML.


Thank you

Regards

Shahab Uddin Abbasi
Software Developer

shahab_abbasi
Newbie Poster
1 post since Nov 2009
Reputation Points: 10
Solved Threads: 0
 

Here is the thread section of the modified table; the rest of the table is as described in Section 11.4, “Horizontal (column) spanning in tables”.
MonthDay
20° N. Lat.

30° N. Lat.
RiseSetRiseSet

witinnovation
Newbie Poster
2 posts since Dec 2009
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You