You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by rsanford <rs...@nolimitsystems.com> on 2000/10/25 17:57:33 UTC

DOM question

okay, i would like to understand the rationale behind this...

i'm working through the xerces java source and i'm looking
at the Element class. there's a nifty little method called
getElementsByTagName, that lets me get all the descendants
of a particular type.

why isn't there a method that lets me get all the _children_
of a particular type? is this an api decision by the W3C or
is this something missing from xerces?

if it is a decision by the W3C, can someone explain it to
me?

wonderfully confused...

rjsjr