[jdom-interest] beta5 comments
jozart at csi.com
Fri Sep 29 11:45:33 PDT 2000
Yes, I mean the whitespace issue.
I need to use XMLOutputter as a pretty-printer, and the patched
XMLOutputter should do the trick. (Currently I have to keep track of
whether the document already contains indentation and new lines -- or
Q: Wouldn't it be preferable in some cases to also enhance the builder
side to optionally remove whitespace?
----- Original Message -----
From: "Alex Chaffee" <guru at edamame.stinky.com>
To: "Joseph Bowbeer" <jozart at csi.com>
Cc: <jdom-interest at jdom.org>
Sent: Friday, September 29, 2000 8:03 AM
Subject: Re: [jdom-interest] beta5 comments
Do you mean the whitespace issue? If you want the XMLOutputter to
trim whitespace from text nodes, then apply my patch and call
xo.setTrimText(true) -- then it will look the same no matter how the
source was "formatted".
More information about the jdom-interest