> But I have my reasons to want to preserve the text as-is.  Is there a
> quick and dirty way to get dom4j 1.6 to leave the newline and other
> whitespace alone as I parse a string?

No, there isn't ... dom4j does not parse the XML, in the background it
uses a XML Parser (SAX) to do this and any conforming XML parser will
normalize the attribute whitespace. The only way around this would be
to use a non-conforming XML Parser.

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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to