blob: 266030ec064c5725f44a5aa02c3f9dfc4c7201f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<refentry id="olink.base.uri">
<refmeta>
<refentrytitle>olink.base.uri</refentrytitle>
<refmiscinfo role="type">uri</refmiscinfo>
</refmeta>
<refnamediv>
<refname>olink.base.uri</refname>
<refpurpose>Base URI used in olink hrefs</refpurpose>
</refnamediv>
<refsynopsisdiv> <src:fragment id="olink.base.uri.frag">
<xsl:param name="olink.base.uri" select="''"/> </src:fragment>
</refsynopsisdiv>
<refsect1>
<title>Description</title>
<para>When cross reference data is collected for resolving olinks, it may be necessary to prepend a base URI to each target's href. This parameter lets you set that base URI when cross reference data is collected. This feature is needed when you want to link to a document that is processed without chunking. The output filename for such a document is not known to the XSL stylesheet; the only target information consists of fragment identifiers such as <literal>#idref</literal>. To enable the resolution of olinks between documents, you should pass the name of the HTML output file as the value of this parameter. Then the hrefs recorded in the cross reference data collection look like <literal>outfile.html#idref</literal>, which can be reached as links from other documents.</para>
</refsect1>
</refentry>
|