ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  XML Data Binding with Castor
Subject:   creating an address book using marshal
Date:   2003-07-23 07:35:54
From:   anonymous2
Response to: creating an address book using marshal

Hi


In your XML mapping add the line


<bind-xml name="person"/>


after
<field name="persons" type="Person" collection="collection" />


Thanks.