Table frame view
Hi,
In xml i have table, the table i convert to html. if frame is present in xml it show to html. if frame is not present in xml it no need to show html.
I have pasted xml coding and pdf for your reference.
Kindly give solution.
Table 1
<table>
<tgroup cols="4" rowsep="0" colsep="0">
<colspec colnum="1" colname="col1" colwidth="25*" align="left">
<colspec colnum="2" colname="col2" colwidth="20*" align="left">
<colspec colnum="3" colname="col3" colwidth="20*" align="left">
<colspec colnum="4" colname="col4" colwidth="35*" align="left">
<tbody>
<row rowsep="1">
<entry><text>City and State</text></entry>
<entry><text>Channel</text></entry>
<entry><text>Power (kW)</text></entry>
<entry><text>Antenna HAAT (m)</text></entry>
</row>
<row>
<entry><text>Augusta, Georgia</text></entry>
<entry><text>51</text></entry>
<entry><text>37</text></entry>
<entry><text>363</text></entry>
</row>
</tbody>
</tgroup>
</table>
Table 2
<table>
<tgroup cols="3" rowsep="0" colsep="0">
<colspec colnum="1" colname="col1" colwidth="50*" align="left">
<colspec colnum="2" colname="col2" colwidth="25*" align="left">
<colspec colnum="3" colname="col3" colwidth="25*" align="left">
<spanspec namest="col2" nameend="col3" spanname="sp1" align="center">
<tbody>
<row>
<entry><text></text></entry>
<entry spanname="sp1"><text>Channel No.</text></entry>
</row>
<row>
<entry><text>City and State</text></entry>
<entry><text>Present</text></entry>
<entry><text>Proposed</text></entry>
</row>
<row>
<entry><text>Augusta, Georgia</text></entry>
<entry><text>12, 30, 31, 42</text></entry>
<entry><text>12, 30, 42, 51</text></entry>
</row>
</tbody>
</tgroup>
</table>
|