• 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