Re: DOM Level 3 Loading -- node filtering

>Is an implementor allowed to change the value of the whatToShow
>attribute once parsing has begun

See past discussion re filtering in the Traversal chapter. The decision
there was that whatToShow was not mutable (allowing it to change seemed to
unreasonably constrain implementations), but you can achieve the desired
results by specifying SHOW_ALL and then make all the decisions, including
node-type, dynamically in your filter logic. I'd avoid doing something
different here unless there is an extremely good reason, simply to ease the
task of learning how to use the DOM.

______________________________________
Joe Kesselman  / IBM Research

Received on Tuesday, 26 February 2002 11:36:43 UTC