Re: [dom4j-user] setStripWhitespaceText problem

2008-01-11 Thread Edwin Dankert
SAXReader.setStripWhitespaceText only strips full Text nodes which consist solely of white-space and no other characters. The following white-space Text Node will be 'stripped': The method does not remove any leading or trailing white-space from text nodes. Kind regards, Edwin -- http://www

[dom4j-user] setStripWhitespaceText problem

2007-12-18 Thread Uri Shohet
Hi List, I have a problem with the SAXReader.setStripWhitespaceText() method. I have the following method: public Document parse(String xml) throws DocumentException { SAXReader xmlReader = new SAXReader(); xmlReader.setMergeAdjacentText(true);