0 Replies Latest reply on Feb 27, 2012 3:04 AM by Pooja_IDDev

    aid:tcols

    Pooja_IDDev Level 1

      I have a following xml file:

       

      <table xmlns:aid5="http://ns.adobe.com/AdobeInDesign/5.0/" frame="topbot" orient="port" xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/" aid:table="table" aid:trows="7" aid:tcols="3"><entry aid5:cellstyle="TabTitle" aid:pstyle="TabTitle" aid:table="cell" aid:crows="1" aid:ccols="3"><label>Table?1. </label><caption>?Body and liver weights.?</caption></entry>

      <entry colname="col1" align="left" colnum="1" colwidth="10*" aid5:cellstyle="TabCH" morerows=""  aid:pstyle="TabCH" aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="10*">Treatment</entry>

       

       

      <entry colname="col2" align="left" colnum="2" colwidth="10*" aid5:cellstyle="TabCH" morerows=""  aid:pstyle="TabCH" aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="10*">Body weight (g)</entry>

       

       

      <entry colname="col3" align="left" colnum="3" colwidth="10*" aid5:cellstyle="TabCH" morerows=""  aid:pstyle="TabCH" aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="10*">Liver weight (g)</entry>

       

       

      <entry colname="col1" align="left" colnum="1" colwidth="10*" aid5:cellstyle="TabBody1" aid:pstyle="TabBody1" aid:table="cell" aid:crows="1" aid:ccols=" 1" aid:ccolwidth="10*">Control</entry>

       

       

      <entry colname="col2" align="left" colnum="2" colwidth="10*" aid5:cellstyle="TabBody1" aid:pstyle="TabBody1" aid:table="cell" aid:crows="1" aid:ccols=" 1" aid:ccolwidth="10*">285?±?7</entry>

       

       

      <entry colname="col3" align="left" colnum="3" colwidth="10*" aid5:cellstyle="TabBody1" aid:pstyle="TabBody1" aid:table="cell" aid:crows="1" aid:ccols=" 1" aid:ccolwidth="10*">10.89?±?0.72</entry>

       

       

      <entry colname="col1" align="left" colnum="1" colwidth="10*" aid5:cellstyle="TabBody" aid:pstyle="TabBody" aid:table="cell" aid:crows="1" aid:ccols=" 1" aid:ccolwidth="10*">RTA</entry>

       

       

      <entry colname="col2" align="left" colnum="2" colwidth="10*" aid5:cellstyle="TabBody" aid:pstyle="TabBody" aid:table="cell" aid:crows="1" aid:ccols=" 1" aid:ccolwidth="10*">281?±?8</entry>

       

       

      <entry colname="col3" align="left" colnum="3" colwidth="10*" aid5:cellstyle="TabBody" aid:pstyle="TabBody" aid:table="cell" aid:crows="1" aid:ccols=" 1" aid:ccolwidth="10*">10.47?±?0.78</entry>

       

       

      <entry colname="col1" align="left" colnum="1" colwidth="10*" aid5:cellstyle="TabBody" aid:pstyle="TabBody" aid:table="cell" aid:crows="1" aid:ccols=" 1" aid:ccolwidth="10*">RTA + NAC</entry>

       

       

      <entry colname="col2" align="left" colnum="2" colwidth="10*" aid5:cellstyle="TabBody" aid:pstyle="TabBody" aid:table="cell" aid:crows="1" aid:ccols=" 1" aid:ccolwidth="10*">280?±?9</entry>

       

       

      <entry colname="col3" align="left" colnum="3" colwidth="10*" aid5:cellstyle="TabBody" aid:pstyle="TabBody" aid:table="cell" aid:crows="1" aid:ccols=" 1" aid:ccolwidth="10*">10.61?±?0.57</entry>

       

       

      <entry colname="col1" align="left" colnum="1" colwidth="10*" aid5:cellstyle="TabBody2" aid:pstyle="TabBody2" aid:table="cell" aid:crows="1" aid:ccols=" 1" aid:ccolwidth="10*">RTA + Lipo-NAC</entry>

       

       

      <entry colname="col2" align="left" colnum="2" colwidth="10*" aid5:cellstyle="TabBody2" aid:pstyle="TabBody2" aid:table="cell" aid:crows="1" aid:ccols=" 1" aid:ccolwidth="10*">288?±?5</entry>

       

       

      <entry colname="col3" align="left" colnum="3" colwidth="10*" aid5:cellstyle="TabBody2" aid:pstyle="TabBody2" aid:table="cell" aid:crows="1" aid:ccols=" 1" aid:ccolwidth="10*">10.61?±?0.87</entry>

      <entry aid5:cellstyle="TabFoot" aid:pstyle="TabFoot" aid:table="cell" aid:crows="1" aid:ccols="3"><table-wrap-foot><fn><p>Body and liver weights of control and ricin A-chain (RTA)-challenged animals treated with saline, NAC or Lipo-NAC as described in Materials and Methods section. Values represent mean ± SEM (<italic>n</italic>?=?4 animals).</p></fn></table-wrap-foot></entry></table>

       

      Now i need to find the value of aid:tcols which is 3, How to find it using java script..

       

       

      Thanks & Regards

      Pooja

       

      Message was edited by: Raykor11