- From: Joseph Kesselman <keshlam@us.ibm.com>
- Date: Wed, 23 May 2001 16:57:34 -0400
- To: "Jonas Sicking" <sicking@bigfoot.com>
- Cc: <www-dom@w3.org>
>The treeWalker says that whatToShow skipping takes precidence over > the filter. Does that include if the filter returns FILTER_REJECT? Yes. That's why we were explicit about the order in which these tests are applied. There were good performance reasons for doing it this way. If you want the other behavior you can get it by moving the node-type test into your filter, so this shouldn't be a problem. >Does nodeIterator or treeWalker ever step into the attributes >of an element? I would expect not, but the whatToShow filter has a >bit for attribute nodes. See the descriptive text for SHOW_ATTRIBUTE. ______________________________________ Joe Kesselman / IBM Research
Received on Wednesday, 23 May 2001 16:58:09 UTC