A
anupamjain
I have gone through many threads on this topic, but am still clueless
about the solution of my problem.
I am using :
childNodesBuffer = currentchildelem.cloneNode(true).getChildNodes();
where currentchildelem is an Element
childNodesBuffer is a NodeList
currentchildelem is :
<td>
<table>
<tr>.....</tr>
<tr>...</tr>
</table>
</td>
My problem is the node 'table' is not being put into the node list.
But if I have only text node like
<td>
sometext
</td>
Then it wors perfectly fine.
Any ideas for why is this happening ? (Even when I am doing a 'deep'
clone)
I am using Xerces-J parser and parsing XHTML.
Thanks in advance,
Anupam
about the solution of my problem.
I am using :
childNodesBuffer = currentchildelem.cloneNode(true).getChildNodes();
where currentchildelem is an Element
childNodesBuffer is a NodeList
currentchildelem is :
<td>
<table>
<tr>.....</tr>
<tr>...</tr>
</table>
</td>
My problem is the node 'table' is not being put into the node list.
But if I have only text node like
<td>
sometext
</td>
Then it wors perfectly fine.
Any ideas for why is this happening ? (Even when I am doing a 'deep'
clone)
I am using Xerces-J parser and parsing XHTML.
Thanks in advance,
Anupam