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 "Riaz, Kashif" <Ka...@westgroup.com> on 2000/07/31 23:23:15 UTC
DOM API ancestors -descendants
Is there a way to find the ancestor or descendants of a particular node in
DOM API . I want to check the condition. if node 'a' has an
ancestor/descendant 'b' then do something. one can always write the
recursive function to find something like that. I was wondering if there is
a direct way of finding it.
Thanks
Kashif.