no, nobody wants to send a patch that would parameterize the printing routines. I would suggest subclassing the PrettyPrinter class.
a hacky alternative is to use a tree transform that replaces every empty element b with scala.xml.Unparsed("<b/>").
Burak
On Tue, Aug 26, 2008 at 10:28 AM, Normen Müller
<normen.mueller@...> wrote:
He,
is it possible to serialize XML without additional closing elements? For example, if val xml = <a><b/></a>, then the serialization is <a><b></b></a>, rather than <a><b/></a>.
Cheers,
/nm
--
Burak Emir
--
http://burak.emir.googlepages.com