Joseph Kesselman wrote: 
> >What I'm trying to do is: when the parsing is finished, I scan the tree
> >and do node.removeChild(child) when child is a Text or Comment node. [...]
> > Is there a way to do that properly during the parsing? a feature to set?
> 
> The proposed DOM Level 3 load/save API included a filtering mechanism, last
> time I looked at it. I don't know whether that's been implemented.


Yes, the DOM L3 filtering is implemented in Xerces. See the following:
http://www.w3.org/TR/2003/WD-DOM-Level-3-LS-20030226/load-save.html#LS-DOMBuilder
http://xml.apache.org/xerces2-j/dom3.html
http://xml.apache.org/xerces2-j/faq-dom.html#faq-3

Thank you,
-- 
Elena Litani / IBM Toronto

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to