The problem probably lies in the issue that dom4j by default does not to try
and merge all text nodes together.

So instead it would be good to set the SAXReader.mergeAdjacentText()
method to true before parsing. This means that you will need a little
more control over your parsing, so you could try this:

SAXReader reader = new SAXReader();
reader.setMergeAdjacentText(true);

Document document = reader.read(???);

Regards,
Edwin
-- 
http://www.edankert.com/

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to