diff options
Diffstat (limited to 'kdoctools/docbook/xsl/params/use.local.olink.style.xml')
-rw-r--r-- | kdoctools/docbook/xsl/params/use.local.olink.style.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/kdoctools/docbook/xsl/params/use.local.olink.style.xml b/kdoctools/docbook/xsl/params/use.local.olink.style.xml new file mode 100644 index 000000000..3b893792e --- /dev/null +++ b/kdoctools/docbook/xsl/params/use.local.olink.style.xml @@ -0,0 +1,23 @@ +<refentry id="use.local.olink.style"> +<refmeta> +<refentrytitle>use.local.olink.style</refentrytitle> +<refmiscinfo role="type">boolean</refmiscinfo> +</refmeta> +<refnamediv> +<refname>use.local.olink.style</refname> +<refpurpose>Process olinks using xref style of current +document</refpurpose> +</refnamediv> +<refsynopsisdiv> <src:fragment id="use.local.olink.style.frag"> +<xsl:param name="use.local.olink.style" select="0"/> </src:fragment> +</refsynopsisdiv> +<refsect1> +<title>Description</title> +<para>When cross reference data is collected for use by olinks, the data for each potential target includes one field containing a completely assembled cross reference string, as if it were an xref generated in that document. Other fields record the separate title, number, and element name of each target. When an olink is formed to a target from another document, the olink resolves to that preassembled string by default. If the <parameter>use.local.olink.style</parameter> parameter is set to non-zero, then instead the cross +reference string is formed again from the target title, number, and +element name, using the stylesheet processing the targeting document. +Then olinks will match the xref style in the targeting document +rather than in the target document. If both documents are processed +with the same stylesheet, then the results will be the same.</para> +</refsect1> +</refentry> |