Chapter 5. Extended Links
XLink extended links, like annotations, can be non-local. The more interesting feature is that unlike HTML anchors, they can also have multiple endpoints. Consider the following link: ⌖5
1<phrase xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:type="extended">
<link xlink:title="DocBook.org"
xlink:label="target"
5 xlink:href="http://docbook.org/"
xlink:type="locator"/>
<link xlink:title="DocBook on Wikipedia"
xlink:label="target"
xlink:href="http://en.wikipedia.org/wiki/DocBook"
10 xlink:type="locator"/>
<citetitle xlink:label="source" xlink:type="resource"
>DocBook</citetitle>
<link xlink:to="target" xlink:from="source" xlink:type="arc"/>
</phrase>
With JavaScript enabled, this link to DocBook [DocBook.org, DocBook on Wikipedia] has a popup menu to select the link target. Rendered without JavaScript, the link choices are presented as alternatives after the link.