Creating Extended Links

Attribute-identified XLink Extended Link

An extended link, described using xlink:type, is shown below:

<pictures xlink:type="extended" xlink:title="Wedding Pictures - Charlie" xlink:role="">
<photo xlink:type="locator" xlink:href="toast.scr" xlink:label="toast" xlink:title="Charlie leads the toast" />
<photo xlink:type="locator" xlink:href="garter.scr" xlink:label="garter" xlink:title="Charlie brings out the garter"/>
<photo xlink:type="locator" xlink:href="cakemess.scr" xlink:label="cake" xlink:title="Cake down Charlie's shirt" />
<address xlink:type="locator" xlink:href="address.adr" xlink:label="address" xlink:title="Charlie's Address" />

Note that we're not doing anything with the labels here, but we will be using them as hooks later.

<Previous Page   TOC   Next Page>

Copyright 1999 Simon St.Laurent