> That's also a neat idea, but can easily be done as static variables on > XMLOutputter, e.g. > > public class XMLOutputter { > > public static final XMLOutputter COMPACT = new XMLOutputter(); > static { > COMPACT.setTrimText(true); > } But COMPACT is final. -jh-