This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using id/idref with castror

 
Sudarshan Sreenivasan
Ranch Hand
Posts: 188
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic