0 Replies Latest reply on Jan 31, 2011 9:24 PM by Green4ever

    Moving an existing xml element into aTable

    Green4ever Level 3

      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>
      <title>Anatomy and Classification of Major Hepatic Resections</title>
      <th align="left" valign="top" colspan="5">Anatomic Classification</th>
      <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>
      <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>
      <td align="left" valign="top">Right lobectomy<sup>a</sup>
      <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 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>
      <td align="left" valign="top">Extended left hepatectomy<sup>a</sup>
      <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 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>


      Looking forward your replies... Your help will be thankful....