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

Reply via email to