Read table date fill in with xsl
<p>I don't have the problem.</p>

<p>The table is so:</p>

<pre><code>    &lt;table id="table"&gt;
        &lt;tr&gt;
                &lt;th&gt;value&lt;/th&gt;
                &lt;th&gt;Total&lt;/th&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
                &lt;td&gt;x&lt;/td&gt;
                &lt;td&gt;100&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
                &lt;td&gt;y&lt;/td&gt;
                &lt;td&gt;101&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/table&gt;
</code></pre>

<p>the script is:</p>

<pre><code>var table = document.getElementById("table");   
var value;
var total = 0;

for(i = 1; i &lt; table.rows.length; i++){

    value = table.rows[i].cells[1].innerHTML;
    total += parseInt(value);       
}
</code></pre>

<p>This is ok!!!</p>

<p>but if the table is fill in from xml file with xsl:</p>

<pre><code>            &lt;xsl:for-each select="fatture/fattura"&gt;
                &lt;tr&gt;
                    &lt;td&gt;&lt;xsl:value-of select="numero"/&gt;&lt;/td&gt;                        
                &lt;/tr&gt;
            &lt;/xsl:for-each&gt;
</code></pre>

<p>the top script is not ok...</p>

<pre><code>value = table.rows[i].cells[1].innerHTML;
value = table.rows[i].cells[1].value;
...
</code></pre>

<p>What is the function for read the table tag fill in with xsl...?</p>
