XLINK role attribute for simple links?

MikeDacon at aol.com MikeDacon at aol.com
Sun Feb 28 18:29:02 GMT 1999

Hi Everyone,

I am working my way through the XLink standard (WD 3-Mar-98) and am now 
confused about the role attribute.

Under Link semantics the standard you can specify the 
role attribute to describe the type of relationship the link describes.
However, it caveats this saying that simple links "have an attribute 
called role that has a different function, they cannot have a role 
attribute for link semantics."

Unfortunately, I have not been able to find in the specification the
discussion of the role attribute for a simple link.  Unless the standard
is talking about the "content-role" attribute but that of course is 
a different attribute.

Also, why use the attribute "role" for link semantics and "role" for 
Remote resource semantics but then shift gears to "content-role" for
local resource semantics?  Wouldn't the role of a remote resource also
be a "content-role"?

One last comment, anyone else get the feeling that there must be a 
better way to describe the combinations of legal attributes for the
various types of links?
URLs to tutorials or good papers on this would be appreciated.


 - Mike
Michael C. Daconta
Author of Java 2 and JavaScript for C/C++ Programmers
Author of C++ Pointers and Dynamic Memory Management
Sun Certified Java Programmer and Developer

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)

More information about the Xml-dev mailing list