global attributes provided by xlink type definition attribute type locator attributehref semantic...

6
global attributes provided by XLink Type definition attribute type Locator attribute href Semantic attributes role, arcrole, title Behavior attributes show, actuate Traversal attributes label, from, to

Upload: corey-garrison

Post on 19-Jan-2016

225 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Global attributes provided by XLink Type definition attribute type Locator attributehref Semantic attributesrole, arcrole, title Behavior attributesshow,

global attributes provided by XLink

Type definition attribute

type

Locator attribute href

Semantic attributes role, arcrole, title

Behavior attributes show, actuate

Traversal attributes label, from, to

Page 2: Global attributes provided by XLink Type definition attribute type Locator attributehref Semantic attributesrole, arcrole, title Behavior attributesshow,

The XLink type attribute

• simple: a simple link • extended: an extended, possibly multi-

resource, link • locator: a pointer to an external

resource • resource: an internal resource • arc: a traversal rule between resources • title: a descriptive title for another

linking element

Page 3: Global attributes provided by XLink Type definition attribute type Locator attributehref Semantic attributesrole, arcrole, title Behavior attributesshow,

V-type element

• By convention, when an attribute includes the type attribute with a value V, we will refer to it as a V-type element, no matter what its actual name is.

<!-- bookref is a locator-type element -->

<bookref link:type="locator“ …

Page 4: Global attributes provided by XLink Type definition attribute type Locator attributehref Semantic attributesrole, arcrole, title Behavior attributesshow,

Table 1 - Attribute usage (from the W3C specification)

Attribute simple extended locator arc resource title

type R R R R R R

href O   R    

role O O O   O  

arcrole O     O    

title O O O O O  

show O     O    

actuate O     O    

label     O   O  

from       O    

to       O    

Page 5: Global attributes provided by XLink Type definition attribute type Locator attributehref Semantic attributesrole, arcrole, title Behavior attributesshow,

Table 2 - Significant child types (from the W3C specification)

Parent type Significant child element types

simple -

extended locator, arc, resource, title

locator title

arc title

resource -

title -

Page 6: Global attributes provided by XLink Type definition attribute type Locator attributehref Semantic attributesrole, arcrole, title Behavior attributesshow,