wood burning stoves
The moose likes XML and Related Technologies and the fly likes list children of element (jdom) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "list children of element (jdom)" Watch "list children of element (jdom)" New topic

list children of element (jdom)

James Howerton
Ranch Hand

Joined: Mar 14, 2009
Posts: 82
What do I need to learn to stop on a certain element which this class can do. But I would like to work with the children of the element is finds?

Paul Clapham

Joined: Oct 14, 2005
Posts: 19738

Well, if your question is "Why isn't the processSelectedElement method being called?" then the answer is, it's because the comparison in line 94 always returns false.

It looks a bit suspicious to me, comparing the value of an attribute to a variable whose name is "attrName". So maybe there's some confusion there? I can't tell just from the code.
I agree. Here's the link: http://aspose.com/file-tools
subject: list children of element (jdom)
jQuery in Action, 3rd edition