io7m
io7m-jstructural 3.1.0
5.11
link
5.11.1
Description
1
The link element generates a hyperlink to the element with the given xml:id attribute (specified by the given target attribute) using the text enclosed by the link element as the hyperlink text.
2
The link element depends on the XML validator to check link integrity. The XSLT stylesheets make no attempt to verify the validity or existence of link targets.
5.11.2
Children
1
The following elements may occur as children of link elements:

- image

2
link elements may also contain text.
5.11.3
CSS
1
link elements are assigned the following CSS classes in addition to any specified by the type attribute:

- st200_link

5.11.4
Example
1
The following text:

    <link s:target="elem_paragraph">paragraph</link>

Produces the following output in the context of this document: paragraph.
2
The following text:

    <paragraph><link s:target="elem_paragraph"><image s:source="strawberry.png">Strawberry</image></paragraph></link>

Produces the following output in the context of this document:
3