Hi,
I have a problem binding a hierarchical xml document to a tables.
I have an xml doc 2 levels deep and nested table bound to it. The nested
table is displayed when the header row is clicked.
This works fine however when I the DATAPAGESIZE on the table it stops working
on all but the first page.
I get an error "tblDetails[...].style is not an object"

here is the script

<SCRIPT LANGUAGE=JavaScript FOR=Invoice EVENT=onclick>

rowID = this.recordNumber - 1;
if (tblDetails[rowID].style.display == "none")
{
Invoice[rowID].innerText = "-";
tblDetails[rowID].style.display = "inline";
}
else
{
Invoice[rowID].innerText = "+";
tblDetails[rowID].style.display = "none";
}

window.event.cancelBubble = true;

</SCRIPT>

Any ideas would be appreciated.
Thanks
Sean