xlink:href
Href (Linking Mechanism)
An address or identifier that permits an XLink application to find a remote resource, for
example, a URI (such as a URL or filename) that links to an online site associated with the author or the online definition of a term. As specified in
XML Linking Language (XLink) Version 1.0 the value of an @xlink:href must be a valid URI.
Remarks
Of the many linking attributes that may be used, @xlink:href is the most important, since it provides the link. The attribute is required for those elements which must link, and it is optional on other elements only in the sense that an element need not link. If an element links, this attribute is required.
Used on Elements: <graphic>, <inline-graphic>, <media>
Value | Meaning | Behavior |
---|---|---|
Text, numbers, or special characters | A pointer (which may be a URL) to a resource. | Can be used to make this element a live link to a related site |
Restriction | @xlink:href is required; it must be provided if the element is used. |
Used on these Elements:
<abbrev>, <award-group>, <award-id>, <bio>, <chem-struct>, <collab>, <conference>, <contrib>, <custom-meta>, <element-citation>, <email>, <ext-link>, <funding-source>, <funding-statement>, <inline-supplementary-material>, <institution>, <issue-id>, <license>, <long-desc>, <mixed-citation>, <named-content>, <product>, <pub-id>, <related-article>, <related-object>, <self-uri>, <supplementary-material>, <uri>, <volume-id>
Value | Meaning | Behavior |
---|---|---|
Text, numbers, or special characters | A pointer (which may be a URL) to a resource. | Can be used to make this element a live link to a related site |
Restriction | @xlink:href is an optional attribute; there is no default. |
Example 1
As the linking component of an external link:
...
<ext-link ext-link-type="uri" xlink:href="www.ncemch.org/pubs/PDFs/
breastfeedingTIB.pdf">http://www.ncemch.org/pubs/PDFs/
breastfeedingTIB.pdf</ext-link>
...
Example 2
As part of the description of supplementary material:
...
<supplementary-material id="S1" xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:title="local_file" xlink:href="pbio-0020328-t002.xls"
mimetype="application/vnd.ms-excel">
<label>Supporting Material</label>
...</supplementary-material>
...