users@jaxb.java.net

Prettier printing

From: Dierikx, Marc <MDierikx_at_gti-group.com>
Date: Mon, 13 Feb 2006 14:42:59 +0100

My generated xml file contains elements without data that do only have
attributes. They are serialized as
<blah att1="..." attn="...">
</blah>
The file should be human readable, but is quite large. For better
readability, I'd prefer to have it serialized on one line, and
preferrably in on tag only, so
<blah att1="..." attn="..."/>
Is this possible?

Regards,
Marc
================================================
De informatie opgenomen in dit bericht kan vertrouwelijk zijn en
is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht
onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en
de afzender direct te informeren door het bericht te retourneren.
================================================
The information contained in this message may be confidential
and is intended to be exclusively for the addressee. Should you
receive this message unintentionally, please do not use the contents
herein and notify the sender immediately by return e-mail.
================================================