Hi Anand,

Have you tried to use a mapping file to set the output format?

Thanks,

Arnaud



This message is intended only for the use of the Addressee and may contain
information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended
recipient, dissemination of this communication is prohibited. If you have
received this communication in error, please erase all copies of the message
and its attachments and notify us immediately.

 

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Monday, March 22, 2004 3:12 PM
> To: [EMAIL PROTECTED]
> Subject: [castor-dev] List of string attributes
> 
> 
> Hi,
> 
> My situation :
> Class ListContainer{
>       List myList;
> }
> 
> There is a list Containing java.lang.String values eg 
> "oneString" ."twoString"
> 
> I want the xml in this format.
> 
> <ListContainer>
>       <mystrings name="oneString"/>
>       <mystrings name="twoString"/>   
> </ListContainer>
> 
> 
> 
> I was able to get it as elements.
> <ListContainer>
>       <mystrings> oneString<mystrings/>
>       <mystrings>twoString<mystrings/>
> </ListContainer>
> 
> Been trying various things for a couple of days without success.
> 
> Thanks in Advance.
> 
> Anand
> 
> ______________________________________________________________
> ________________
> This e-mail is intended only for the use of individual(s) 
> named above. If you are not the intended recipient of this 
> email, or employee or agent responsible for delivering it to 
> the intended recipient, you are hereby notified that any 
> dissemination or copying of this e-mail is strictly 
> prohibitted. If you have received this e-mail in error, 
> immediately notify us by e-mail at : 
> [EMAIL PROTECTED]
> 
> -----------------------------------------------------------
> 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

Reply via email to