- From: Joseph Kesselman <keshlam@us.ibm.com>
- Date: Tue, 12 Dec 2000 08:56:37 -0500
- To: www-dom@w3.org
>Wonder if there is a functionality in DOM to get nodes with no children , which are the last >generation in the document tree . The easiest solution would be to write a simple NodeFilter which Skips any node which has a firstChild, and plug that into the DOM Level 2 Traversal objects (NodeIterator or TreeWalker). If you're using a Level 1 DOM, you would have to write your own tree-walker to accomplish this. ______________________________________ Joe Kesselman / IBM Research
Received on Tuesday, 12 December 2000 08:56:41 UTC