Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: How to represent links within XML & XSD? [Thread Next] Re: How to represent links within XML & XSD?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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
