Hello!

I don't know how you want to process exactly....
,but if  you want white space characters are removed,  use the following 
command ....I

parser.setIncludeIgnorableWhitespace (false) ;

It make let the parser don't process white space for element which it don't 
declare with #pcdata of subelement in dtd , 
If element have subelement that declares with #pcdata, white space characters 
must be processed....

I hope that it is helpful comment for you....

Have a good day!

 bye! ^^!

from sadlion in Seoul

----- Original Message ----- 
From: "Krzysztof Zielinski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 17, 2001 7:42 PM
Subject: '\n' characters in DOMtree


> I am reading an XML and creating DOMTree using Xerces. Unfortunately
> characters like '\n' are also read from the file.
> 
> What to do in order to avoid those characters in the DOMTree ?
> Or how to avoid them when manipulating DOMTree,and then sending it to
> Xalan2 transformer ?
> 
> Thanks.
> 

Reply via email to