Register / Login
Win a copy of
Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA)
this week in the
XML and Related Technologies
using id/idref with castror
posted 7 years ago
Can we use castor to unmarshall a xml document containg id's and idref's.
<document> <box> <chinaApple refid="a1" /> <kashmirApple refid="a2" /> </box> <apple id="a1">China</apple> <apple id="a2">India</apple> </document>
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.
Tranformning multiple XML docs to a single XML doc
Generic class declarations
How XSL Processor reads ???