] On Behalf Of Chris
Sent: Monday, April 16, 2007 4:26 PM
To: jibx-users@lists.sourceforge.net
Subject: [jibx-users] Mapping question
I have the following XML:
people
person first=john last=doe/
person first=jane last=doe/
/people
I have a Person class, and I would like to map this XML
I have the following XML:
people
person first=john last=doe/
person first=jane last=doe/
/people
I have a Person class, and I would like to map this
XML to a Collection of People instances. Is this
possible?
My quick and easy solution was to create a PeopleList
class that had one member of
Hi Chris,
You do need to have a particular class associated with your top-level
element, in this case the people element. If this people element
were instead embedded inside some other XML you could avoid this, by
just using a collection element in your binding definition that
references the