On Thu, 2007-06-28 at 12:54 +1000, Doug Palmer wrote:
> I can see that, globally, I can get XML documents to indent by setting
> org.exolab.castor.indent=true in the properties file. Is there any way
> of programmatically setting a marshaller to indent for just one
> instance?
Aha! Solved by moving to castor 1.1.2 and adding the line
marshaller.setProperty(Configuration.Property.Indent, "true");
Thanks for anticipating my wishes :-)
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email