Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
using id/idref with castror
Joined: Jun 28, 2007
Oct 09, 2008 12:55:00
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.
subject: using id/idref with castror
How XSL Processor reads ???
Tranformning multiple XML docs to a single XML doc
Generic class declarations
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013