users@jaxb.java.net

object reference in xsd

From: Edgar Grimberg <edgar.grimberg_at_zylin.com>
Date: Tue, 13 Mar 2007 08:27:52 +0100

Hi,

After half a day of searching and testing, going through xs:key and
XLINK, I still have this question:
how do I say, in XSD, that an attribute is a reference to an object
(with GUID and all the stuff generated in Java)?
For example, I have an authors and books. The author class has a
birthday property. How do I keep only a reference to the authors in the
books class (xml node)?

Thanks,
Edgar