Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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.
Don't get me started about those stupid
Tranformning multiple XML docs to a single XML doc
Generic class declarations
How XSL Processor reads ???