Skip to content Skip to sidebar Skip to footer

Cals Table Not Properly Getting Created

I've the below XML code(Tables)

Solution 1:

I believe your input XML is wrong. In this row

<row><entrynamest="col1"nameend="col3"align="center"valign="top"colsep="1"><para>DEPOSIT 10% HARGA RIZAB</para></entry><entrynamest="col4"nameend="col6"align="center"valign="top"colsep="1"><para>BAKI 90% HARGA BELIAN</para></entry><entrycolname="col7"align="left"valign="top"colsep="1"rowsep="1"morerows="1"><para>TARIKH PEMYATA BAILIF DAN BAUCARDISEDIAKAN</para></entry><entrycolname="col8"align="left"valign="top"colsep="1"rowsep="1"morerows="1"><para>TARIKH PENYATA DAN TARIKH BAUCAR DIHANTAR KE BAHAGIAN KEWANGAN</para></entry><entrycolname="col9"align="left"valign="top"rowsep="1"morerows="1"><para>TARIK CEK BAYARAN DIKELUARKAN/DIHANTAR KEPADA PENAWAR</para></entry></row>

columns col7, col8, and col9 declared morerows="1", meaning columns col7, col8 and col9 extend further by 1 row below. It is imperative that the second <row> should contain

<rowrowsep="1"><entrycolname="col1"align="center"valign="top"><para>Tarikh</para></entry><entrycolname="col2"align="center"valign="top"><para>No. Resit</para></entry><entrycolname="col3"align="center"valign="top"colsep="1"><para>Jumlah</para></entry><entrycolname="col4"align="left"valign="top"><para>Tarikh</para></entry><entrycolname="col5"align="center"valign="top"><para>No. Resit</para></entry><entrycolname="col6"align="center"valign="top"colsep="1"><para>Jumlah</para></entry></row>

I tried running this again with your XSLT and I can't help but notice this

<colclass="colnum-1 colname-col1 colwidth-9"/></col>

I believe this should be

<col class="colnum-1 colname-col1 colwidth-9"/>

or

<colclass="colnum-1 colname-col1 colwidth-9"></col>

but I see now that the extra cells are now gone.

Post a Comment for "Cals Table Not Properly Getting Created"

Between
's In Chrome

I am trying to achieve a simple table row hover effect by c…