users@jaxb.java.net

Re: JAXB XML output format questions

From: Hansen Candrawinata <hansen.candrawinata_at_gmail.com>
Date: Mon, 2 Mar 2009 15:21:17 -0800 (PST)

Wolfgang Laun-2 wrote:
>
> Indenting occurs modulo 8, in
> com.sun.xml.bind.v2.runtime.output. IndentingUTF8XmlOutput
> you find
> int i = depth%8;
>
> You could patch this.
>

Hi, thanks for the reply.

Sorry, I do not quite get what you meant by "patch". Did you mean I should
write my own SaxParser to parse the XML generated and then do the
indentation manually starting from the 8th element depth? Which actually
sounds rather sloppy to me. I am not saying it is hard to do, just wanted
to know if there are other alternatives out there.

Thanks.
-- 
View this message in context: http://www.nabble.com/JAXB-XML-output-format-questions-tp22281836p22299243.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.