users@jaxb.java.net

Re: JAXB XML output format questions

From: Hansen Candrawinata <hansen.candrawinata_at_gmail.com>
Date: Tue, 3 Mar 2009 07:04:23 -0800 (PST)

Wolfgang Laun-2 wrote:
>
>> Get JAXB's source code and change this line :-)
>

Ahhhhh, I see :-) Yeah, I would not mind doing it when I have the time.

Perhaps being a little smarter by providing an option to do unlimited
indentation? This could be a property, say, JAXB_UNLIMITED_INDENTATION that
will only take effect if JAXB_FORMATTED_OUTPUT is also true.



> A simple script (Perl,... XSLT) could be used if it's so important.
> (Why is it so importatant? - I'm really curious ;-)
>

Thanks for the script. But I really need to be able to do it
programmatically from my Java program without depending much on external
tools as the program is meant to be portable and stand alone.

It is not so much important actually. The XML output is meant to be for the
end users to read and modify, and I just felt the incomplete indentation was
annoying in this case and thought that it would look nicer otherwise.
-- 
View this message in context: http://www.nabble.com/JAXB-XML-output-format-questions-tp22281836p22310347.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.