Recreating A HREF=

Implied XLink Simple Link


Simple links are specified using an attribute value using xlink:type. An example simple link using xlink:type as an attribute is shown below:

<mylink xlink:type="simple" xlink:href="http://www.simonstl.com" xlink:title="Author site" xlink:role="http://www.simonstl.com/idURIs/authorlink" xlink:show="new" xlink:actuate="onRequest" >Simon's Site</xlink:simple>

This would create a link, containing the text "Simon's Site", that would point to www.simonstl.com. The title, which might pop up on a mouseover, would be "Author site", and its role (in case anyone, perhaps a style sheet cared) would be "http://www.simonstl.com/idURIs/authorlink". When clicked on by a user, a new window would appear with the contents of www.simonstl.com. For the most part, this approach allows to use your own element names, but you are still required to use the attribute names, complete with full namespace prefixes.

<Previous Page   TOC   Next Page>

Copyright 2000 Simon St.Laurent