Can sombody help me with the following question about JiBx binding? 

1)
I have an ArrayList for addresslines in an Object and I would like to bind 

ArrayList[0] to addressline1 
ArrayList[1] to addressline2
ArrayList[2] to addressline3

Can we /How can we do this in JiBx?

2) Can we bind objects conditionally. For example, if the contact type is 
phone, I would like to bind it to phone object and if the contact type is 
email, I would like to bind it to email object

<ContactType>Phone</ContactType>
<ContactNumber>6141234567<ContactNumber>

<ContactType>Email</ContactType>
<ContactNumber>[EMAIL PROTECTED]<ContactNumber>

WCC
<Email>
        <EmailAddress>[EMAIL PROTECTED]</EmailAddress>
        <Preferrered>Yes</Preferrered>
<Email>
<Phone>
        <AreaCode>614></AreaCode>
                                <PhoneNumber>1234567</PhoneNumber>
                                <Preferrered>Yes</Preferrered>
</Phone>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to