xlink:href
Href (XLink 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. (See https://www.w3.org/TR/xlink/)
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 | This attribute is required; it must be provided if the element is used. |
Used on these Elements:
<abbrev>, <app>, <bio>, <chem-struct>, <collab>, <contrib>, <custom-meta>, <element-citation>, <email>, <ext-link>, <funding-source>, <inline-supplementary-material>, <institution>, <issue-id>, <license>, <long-desc>, <mixed-citation>, <named-content>, <nlm-citation>, <pronunciation>, <pub-id>, <related-article>, <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 | This is an optional attribute; there is no default. |
Example 1
To link to a book included as a bibliographic reference:
...
<ref id="bibr40">
<label>40</label>
<mixed-citation><collab>World Health Organization</collab>,
<collab>World Bank</collab>. (<year iso-8601-date="2011">2011</year>),
<source>World Report on Disability</source>,
<publisher-loc>Geneva</publisher-loc>, available at:
<ext-link
xlink:href="http://www.who.int/disabilities/world_report/2011/en/index.html"
>http://www.who.int/disabilities/world_report/2011/en/index.html</ext-link
></mixed-citation>
</ref>
...
Example 2
To link to a graphic image:
... <p><italic>Slow-front transient overvoltage (SFO)</italic>: Transient overvoltage, usually unidirectional, with time to peak 20 μs < <inline-formula> <alternatives> <tex-math notation="LaTeX">${T_p}$</tex-math> <inline-graphic xlink:href="1894_2015_mml_m1.eps" xmlns:xlink="http://www.w3.org/1999/xlink"/> </alternatives> </inline-formula> ≤ 5 000 μs, and time to half value of a  decreasing voltage <inline-formula> <alternatives> <tex-math notation="LaTeX">${T_2}$</tex-math> <inline-graphic xlink:href="1894_2015_mml_m2.eps" xmlns:xlink="http://www.w3.org/1999/xlink"/> </alternatives> </inline-formula> ≤ 20 ms.</p> ...