[jdom-interest] get direct children using DOM API?

bob mcwhirter bob at werken.com
Wed Apr 3 11:12:47 PST 2002


I guess we need another FAQ entry.  There's already an entry saying
that XPath is avaiable from http://jaxen.org/, but I guess we need
one answering, specifically, the getElementsByTagName() question,
telling folks to use XPath.

	-bob



On Wed, 3 Apr 2002, Wei Gao wrote:

> Hi,
> 
> We are using DOM APIs, and I need to get the direct children of an
> w3c.org.dom.element, just what getChildren() in jdom does. However,
> getElementsByTagName() returns all the children for an element. I am
> wondering if anyone has done implementations to get around this?
> 
> Thanks
> 
> Wei
> 




More information about the jdom-interest mailing list