Thanks, I'll give that a shot!

Craig.

On 2010-07-08, at 1:58 PM, Werner Guttmann wrote:

> Hi Craig,
> 
> sorry for the late answer, but
> 
> http://www.castor.org/javadoc/org/exolab/castor/xml/Marshaller.html#setRootElement(java.lang.String)
> 
> should be of help to you.
> 
> Regards
> Werner
> 
> On 25.06.2010 00:22, Craig Tataryn wrote:
>> If I feed the Castor marshaller an object of type List<SomeClass>  is there 
>> a way for it to output the resulting XML as:
>> 
>> <SomeClassSet>
>>      <SomeClass>
>>              ...
>>      </SomeClass>
>> .
>> .
>> .
>>      <SomeClass>
>>              ...
>>      </SomeClass>
>> </SomeClassSet>
>> 
>> instead of:
>> 
>> <array-list>
>>      <SomeClass>
>>              ...
>>      </SomeClass>
>> .
>> .
>> .
>> </array-list>
>> 
>> Essentially overriding the default mapping element name (array-list) with an 
>> arbitrary name.
>> 
>> Thanks,
>> 
>> Craig.
>> 
>> --
>> Craig Tataryn
>> site: http://www.basementcoders.com/
>> podcast: http://www.basementcoders.com/?feed=podcast
>> itunes: http://itunes.apple.com/podcast/the-basement-coders
>> irc: ThaDon on freenode #basementcoders, ##wicket, #papernapkin
>> twitter: craiger
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>   http://xircles.codehaus.org/manage_email
> 
> 


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to