Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: How to represent links within XML & XSD?

From: Joseph Kesselman <keshlam-nospam@-------.--->
To: NULL
Date: 5/5/2006 1:02:00 PM

akunal@g... wrote:
> The biggest failing of ID/IDREF is that the link has no way of
> expressing any semantic value as to why the relationship was
> established.

Not entirely true; that's a matter of how you design your document. 
Remember, the IDREF doesn't exist in a vacuum; its context may provide 
additional information.

Keys, defined in the Schema spec, are a more flexible alternative to IDs 
and (because there are multiple key spaces rather than a single shared 
space for all IDs) may be more felxible in this regard.

> ID/IDREF can't express bi-directional links.

True.

> I was reading up on XLinks

XLink is indeed a much richer mechanism. There still isn't much 
off-the-shelf support available for it, unfortunately, so actually using 
it productively can be a challenge. And you did way you didn't want to 
write additional code.


-- 
Joe Kesselman / Beware the fury of a patient man. -- John Dryden


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent