I am trying to map the following structure from XML to Java using xlink:href. Is it possible to generate the classes so the ParentLink attribute of Child class points to the id attribute of java class Parent. If yes, what should the mapping xml be.
<case xmlns:xlink="http://www.w3.org/1999/xlink">
<Parent id="1001">
<ParentLink xlink:type="simple" xlink:href="">
</Parent>
<Child id="2001">
<ParentLink xlink:type="simple" xlink:href="">
</Child>
</case>
Any help or link to a similar example is greatly appreciated. Thanks.
Sandeep Kapur
