Werner
 
i was able to set using LocalConfig object as below. Thanks
 

________________________________

From: Vinodh Rajaraman (vrajaram) 
Sent: Wednesday, December 13, 2006 2:29 PM
To: dev@castor.codehaus.org
Subject: RE: [castor-dev] XML generation


 
Marhsaller isnt providing a method to access property file, or am not
aware.
 
Do u mean we should use
 
LocalConfiguration.getInstance.getProperties() ?? 
 
How do i set "indent" to true here
 
 

________________________________

From: Werner Guttmann [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 13, 2006 2:23 PM
To: dev@castor.codehaus.org
Subject: RE: [castor-dev] XML generation


Yes, by obtaining the properties used internally by the Marshaller and
setting this one property explicitely to true.
 
Werner


________________________________

        From: Vinodh Rajaraman (vrajaram) [mailto:[EMAIL PROTECTED] 
        Sent: Mittwoch, 13. Dezember 2006 09:48
        To: dev@castor.codehaus.org
        Subject: RE: [castor-dev] XML generation
        
        

        Sorry i located the answer to this in the FAQ. is it possible to
set this indent feature to true programmatically, instead of editing the
castor.prop file?

________________________________

        From: Vinodh Rajaraman (vrajaram) 
        Sent: Wednesday, December 13, 2006 2:05 PM
        To: dev@castor.codehaus.org
        Subject: [castor-dev] XML generation
        
        
         
        Hi 
         
        When i generate a XML using Marshaller, the entire file appears
in a single line, rather than an xml format, should we set sthing
explicitly for this? Or do all of you get the file output in a single
line?
         
        Cheers
        Vinodh
         
         

Reply via email to