File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes using id/idref with castror Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "using id/idref with castror " Watch "using id/idref with castror " New topic

using id/idref with castror

Sudarshan Sreenivasan
Ranch Hand

Joined: Jun 28, 2007
Posts: 188

Can we use castor to unmarshall a xml document containg id's and idref's.

Now i expect the contents of <apple id="a1"> and <apple id="a2"> to be unmarshalled into the box object (assuming it has the apple type in it).

Please if anyone can provide me with the mapping.xml for the above xml it would be a great help.
I agree. Here's the link:
subject: using id/idref with castror
It's not a secret anymore!