This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "using id/idref with castror " Watch "using id/idref with castror " New topic
Author

using id/idref with castror

Sudarshan Sreenivasan
Ranch Hand

Joined: Jun 28, 2007
Posts: 188

Hi,
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.
 
jQuery in Action, 2nd edition
 
subject: using id/idref with castror
 
Similar Threads
Generic class declarations
How XSL Processor reads ???
Tranformning multiple XML docs to a single XML doc
Garbage collection
DOM sorting