Hi,
I am using the Xalan Package and parsing the document using Xerces. suppose I write a doc like this:
<Tags>
<Tag1/>
<Tag2>Hello</Tag2>
</Tags>
while walking through the DOM Tree I get these Text Nodes (value=#text) which typically i think are due to
spaces,newlines or tabs and which I ignore.All I am interested are the element nodes and the real text. Is there a way to cleanse the documents of all these text nodes.
any help appreciated.
TIA,
-Dev.
