XML Linking Language (XLink)

Web-Based Publishing (INFO 290-19)

Erik Wilde, UC Berkeley School of Information
2007-01-25
Creative Commons License

This work is licensed under a Creative Commons
Attribution-NonCommercial-ShareAlike 2.5 License.

Abstract

One of the most important aspects of publishing is the relationship of content parts. The Web has popularized the concept of hypermedia, but HTML supports only a very simple concept of linking. The XML Linking Language (XLink) has been specified to provide a linking language for XML, and it supports a much richer concept of linking than HTML. One of the most important aspects of XLink is its ability to separate content and links, so that links can be regarded as being separate from a document's contents, making it possible to create flexible combinations of content and links.

Outline (Links in HTML and XML)

  1. Links in HTML and XML [5]
  2. XLink Basics [12]
    1. Simple Links [1]
    2. Extended Links [11]
  3. Possible XLink Applications [2]
  4. XLink Problems [3]
  5. XLink Versions [2]
  6. Conclusions [1]

HTML Linking Elements

1:1 Links

Untyped Links

Embedded Links

Links in XML

Outline (XLink Basics)

  1. Links in HTML and XML [5]
  2. XLink Basics [12]
    1. Simple Links [1]
    2. Extended Links [11]
  3. Possible XLink Applications [2]
  4. XLink Problems [3]
  5. XLink Versions [2]
  6. Conclusions [1]

Outline (Simple Links)

  1. Links in HTML and XML [5]
  2. XLink Basics [12]
    1. Simple Links [1]
    2. Extended Links [11]
  3. Possible XLink Applications [2]
  4. XLink Problems [3]
  5. XLink Versions [2]
  6. Conclusions [1]

Shorthand Syntax

Outline (Extended Links)

  1. Links in HTML and XML [5]
  2. XLink Basics [12]
    1. Simple Links [1]
    2. Extended Links [11]
  3. Possible XLink Applications [2]
  4. XLink Problems [3]
  5. XLink Versions [2]
  6. Conclusions [1]

Behavior Attributes

Semantic Attributes

XLink Structure

Traversal Attributes

Attributes Only

<environment xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="extended">
 <artist xlink:type="locator" xlink:role="artist" xlink:href="modigliani.xml"/>
 <influence xlink:type="locator" xlink:label="inspiration" xlink:href="cezanne.xml"/>
 <influence xlink:type="locator" xlink:label="inspiration" xlink:href="lautrec.xml"/>
 <influence xlink:type="locator" xlink:label="inspiration" xlink:href="rouault.xml"/>
 <history xlink:type="locator" xlink:label="period" xlink:href="paris.xml"/>
 <history xlink:type="locator" xlink:label="period" xlink:href="kisling.xml"/>
 <bind xlink:type="arc" xlink:from="artist" xlink:to="inspiration"/>
 <bind xlink:type="arc" xlink:from="artist" xlink:to="period"/>
</environment>

Inline Link

Inline XLink with no Arcs

Inline Link with Arcs

Inline XLink with Arcs

Out-of-Line Link

Out-of-Line XLink with no Arcs

Out-of-Line with Arcs

Out-of-Line XLink with Arcs

Element Type Relationships

Parent Type Significant Child Types
simplenone
extendedlocator, arc, resource, title
locatortitle
arctitle
resourcenone
titlenone

Attribute Usage Patterns

simple extended locator arc resource title
type
href
role
arcrole
title
show
actuate
label
from
to

Outline (Possible XLink Applications)

  1. Links in HTML and XML [5]
  2. XLink Basics [12]
    1. Simple Links [1]
    2. Extended Links [11]
  3. Possible XLink Applications [2]
  4. XLink Problems [3]
  5. XLink Versions [2]
  6. Conclusions [1]

Linkbase Interface

XLink Mockup

H. Weinreich, H. Obendorf, W. Lamersdorf, The Look of the Link — Concepts for the User Interface of Extended Hyperlinks, Proceedings of HT'01, August 2001

Control Freak Interface

Link Target Information

D. Stanyer, R. Procter, Improving Web Usability with the Link Lens, Proceedings of WWW8, May 1999

Outline (XLink Problems)

  1. Links in HTML and XML [5]
  2. XLink Basics [12]
    1. Simple Links [1]
    2. Extended Links [11]
  3. Possible XLink Applications [2]
  4. XLink Problems [3]
  5. XLink Versions [2]
  6. Conclusions [1]

The Namespace Problem

The Stability Problem

The Presentation Problem

Outline (XLink Versions)

  1. Links in HTML and XML [5]
  2. XLink Basics [12]
    1. Simple Links [1]
    2. Extended Links [11]
  3. Possible XLink Applications [2]
  4. XLink Problems [3]
  5. XLink Versions [2]
  6. Conclusions [1]

XLink 1.0

XLink 1.1

Outline (Conclusions)

  1. Links in HTML and XML [5]
  2. XLink Basics [12]
    1. Simple Links [1]
    2. Extended Links [11]
  3. Possible XLink Applications [2]
  4. XLink Problems [3]
  5. XLink Versions [2]
  6. Conclusions [1]

Better Linking