Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2006

Tip: Looking for answers? Try searching our database.

childNode(true) and subtree

Thread view: 
anupamjain@gmail.com - 15 Apr 2006 20:38 GMT
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
anupamjain@gmail.com - 16 Apr 2006 02:28 GMT
i am still clueless about this. It has become a roadblock and is not
allowing me to go ahead. Any ideas of any kind from anybody?

Anupam

> I have gone through many threads on this topic, but am still clueless
> about the solution of my problem.
[quoted text clipped - 31 lines]
> Thanks in advance,
> Anupam
Joe Kesselman - 17 Apr 2006 04:08 GMT
From what little you've said, I don't see anything wrong. It sounds
like your problem may be how you're looking at the NodeList rather than
how you're setting it. Can you give us a short (10-line or so) test
program which demonstrates the problem?

Signature

() ASCII Ribbon Campaign  | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.