I have set that feature, but when I am displaying DOM tree, there are still those elements.
Andy Clark schrieb: > > sadlion wrote: > > parser.setIncludeIgnorableWhitespace (false) ; > > It's better to use the configuration methods available via > SAX2. There is a feature defined for this. For example: > > > parser.setFeature("http://apache.org/xml/features/dom/include-ignorable-whitespace", > false); > > Check the Features and Properties in the documentation for > more info. > > -- > Andy Clark * IBM, TRL - Japan * [EMAIL PROTECTED]