Hi Judy,
I am also new to JiBX and I don't have much experience, but I think your
example requires writing custom marshaller/unmarshaller for the address
field. You can check the example on
http://jibx.sourceforge.net/tutorial/binding-custom.html

In your custom marshaller you would modify the ENTRY_ELEMENT_NAME to append
the index of list element, and unmarshaller would just add elements to new
ArrayList.

Regards,
Sanja Jokic,
P.S. Tech, Belgrade

On 5/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


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

 I have an ArrayList Object for addresslines and I would like to bind each
element in the ArrayList to a different  XML  tag.

For example,
ArrayList[0] to  <Addressline1> in the <Address>
ArrayList[1] to <Addressline2> in the <Address >
ArrayList[2] to <Addressline3> in the <Address>

Can I /How can I do this in JiBx?

Thanks. Appriciate any  input/help.

Judy Hsu



-------------------------------------------------------------------------
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


-------------------------------------------------------------------------
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