Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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.
I agree. Here's the link:
subject: using id/idref with castror
Tranformning multiple XML docs to a single XML doc
Generic class declarations
How XSL Processor reads ???
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015