Hi Everyone,
After importing the xml I need to place or convert the xml elements into the table. Is there any way to do this by JS?
Here is the sample Table xml elements....
<table-wrap id="ch3_t1">
<label>Table 3.1</label>
<caption>
<title>Anatomy and Classification of Major Hepatic Resections</title>
</caption>
<table>
<thead>
<tr>
<th align="left" valign="top" colspan="5">Anatomic Classification</th>
</tr>
<tr>
<th align="left" valign="top">Couinaud</th>
<th align="left" valign="top" colspan="2">Goldsmith and Woodburne</th>
<th align="left" valign="top">Brisbane</th>
<th align="left" valign="top">Segments resected</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">Right hepatectomy</td>
<td align="left" valign="top" colspan="2">Right hepatic lobectomy</td>
<td align="left" valign="top">Right hemihepatectomy</td>
<td align="left" valign="top">V, VI, VII, VIII</td>
</tr>
<tr>
<td align="left" valign="top">Right lobectomy<sup>a</sup>
</td>
<td align="left" valign="top" colspan="2">Extended right hepatic lobectomy</td>
<td align="left" valign="top">Right trisectionectomy</td>
<td align="left" valign="top">IV,V,VI, VII, VIII<sup>b</sup>
</td>
</tr>
<tr>
<td align="left" valign="top">Left hepatectomy</td>
<td align="left" valign="top" colspan="2">Left hepatic lobectomy</td>
<td align="left" valign="top">Left hemihepatectomy</td>
<td align="left" valign="top">II, III, IV</td>
</tr>
<tr>
<td align="left" valign="top">Extended left hepatectomy<sup>a</sup>
</td>
<td align="left" valign="top" colspan="2">Extended left lobectomy</td>
<td align="left" valign="top">Left lateral sectionectomy</td>
<td align="left" valign="top">II, III, IV, V, VIII<sup>b</sup>
</td>
</tr>
<tr>
<td align="left" valign="top">Left lobectomy</td>
<td align="left" valign="top" colspan="2">Left lateral segmentectomy</td>
<td align="left" valign="top">Left trisectionectomy</td>
<td align="left" valign="top">II, III</td>
</tr>
</tbody>
</table>
</table-wrap>
Looking forward your replies... Your help will be thankful....