W3C home > Mailing lists > Public > www-xml-linking-comments@w3.org > April to June 2008

xlink:titlerole

From: Brett Zamir <brettz9@yahoo.com>
Date: Sat, 19 Apr 2008 01:39:31 +0800
Message-ID: <4808DCD3.2070508@yahoo.com>
To: www-xml-linking-comments@w3.org

Hi,

While xlink:title and xlink:type="title" offer great flexibility in 
allowing markup to serve in a descriptive role, I believe that it might 
be even more flexible to add xlink:titlerole and xlink:type="titlerole" 
to indicate that a particular xlink:title attribute or a particular 
element, respectively, belonged to a particular category of descriptive 
title. For example, one might use an IRI as follows:

<label xlink:titlerole="http://somenamespace.com/types/#BriefCaption" 
xlink:title="Some great deals on cars..." xlink:href="..."/>

or

<description 
xlink:titlerole="http://somenamespace.com/types/#ExtendedCaption" 
xlink:href="...">
     Some <html:em>great</html:em> deals on cars today only at Emily's 
Auto Shack...
</description>

Perhaps some other attribute such as xlink:titletype could be added to 
indicate other means of detecting the titlerole, such as by the presence 
of particular markup (e.g., that if present on a <label> element, it 
should be treated as such-and-such a titlerole, etc). This way popular 
titleroles might lead to a particular default display within generic 
XLink-aware applications.

I believe such options can allow for XLink titles to be displayed by 
various applications, some fairly generic as well as specific.

thank you,
Brett Zamir
Received on Friday, 18 April 2008 17:43:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:39:46 GMT