Just edit the castor.properties file:
org.exolab.castor.indent=true --Keith Arnaud Blandin wrote: > > Hi Robert, > > Castor is using the Apache XML Serializer to output XML. You can > configure it to output the XML you want (indent, etc...). > However you can plug other serializers to use the one that best suit > your needs. > The API to configure the Serializer is in the Marshaller class. > > Hope that helps, > > Arnaud > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, September 24, 2003 7:46 PM > > To: [EMAIL PROTECTED] > > Subject: [castor-dev] Marshaller output > > > > > > We are considering using Castor for a project. However, I > > need the Marshaller to generate human > > readable output (indented, newlines, etc..) I think this is > > a feature request but perhaps someone > > can recommended a way of doing it. > > > > I am looking for functionality similar to JDOM's XMLOutputer > > class. See the docs at http:// www.jdom.org/docs/apidocs/index.html > > > > Thanks in advance, > > Robert > > > > > > > > > > ----------------------------------------------------------- > > If you wish to unsubscribe from this mailing, send mail to > > [EMAIL PROTECTED] with a subject of: > > unsubscribe castor-dev > > > > ----------------------------------------------------------- > If you wish to unsubscribe from this mailing, send mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev