DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16968>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16968

XercesDOMParser generates whitespace text nodes





------- Additional Comments From [EMAIL PROTECTED]  2003-02-11 18:18 -------
I understand that this is probably working as designed. But currently there's 
no easy way to delete all the text nodes by tag name using the DOM lib. I 
found the removeNamedItem() function of DOMNamedNodeMap can NOT apply to text 
node, because I can only get DOMNamedNodeMap by getEntities() of 
DOMDocumentType, getNotations() of DOMDocumentType, and getAttributes() of 
DOMNode.

Is it possible that an enhancement be made to the DOM lib that I could use a 
flag to specify not to generate whitespace text nodes? Or provide some 
function to remove all the text nodes by tag name "#text"?

Thanks.

Yifan

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

Reply via email to