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.