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:   2002-05-30 05:35:52
From:   howardjfraser

If I create an address book XML file by creating an instance of Addressbook, then using marshal and the mapping.xml file provided, I get the following XML structure



<addressbook>
<persons name = "xxx"> ... </persons>
<persons name = "yyy"> ... </persons>
</addressbook>



I.e. the field name is personS not person. Can anyone shed any light on this?


thanks


1 to 1 of 1
  1. creating an address book using marshal
    2003-07-23 07:35:54  anonymous2 [View]

1 to 1 of 1