I think you have answered the question yourself. XML in general cannot express object graphs, just tree structures. XMLBeans being a generic XML tool has this constraint too, so you basically need to encode the graph structure inside your app (and maybe use key/keyref constraints if you want to enforce this using validation).
Thanks, Radu -----Original Message----- From: olle pettersson [mailto:[EMAIL PROTECTED] Sent: Sunday, November 20, 2005 3:23 PM To: [email protected] Subject: How does xmlbeans marshall object graphs Hi, I have tried to save an xml-document with one Java object occuring in two different places. xmlbeans just copies the object (creates two identical xml tags) rather than using some kind of reference. How does xmlbeans handle whole object graphs? Thanks, --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

