This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes All children of a node Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "All children of a node" Watch "All children of a node" New topic

All children of a node

francis varkey
Ranch Hand

Joined: Sep 13, 2005
Posts: 165
How to get all children of a node in xml file using jdom.

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12671
Nobody using JDOM should be without the complete JDOM documentation.

Harold's free online book has specific JDOM chapters.


Java Resources at
I agree. Here's the link:
subject: All children of a node
Similar Threads
Copy the node with all its children
removing node DOM
Difference root element/root node
what's the difference between / and // in Xpath
JTree making a node act as parent