1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>current.docid</title><link rel="stylesheet" href="reference.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: ReferenceDocumentation"><link rel="up" href="links.html" title="Linking"><link rel="prev" href="use.local.olink.style.html" title="use.local.olink.style"><link rel="next" href="olink.doctitle.html" title="olink.doctitle"><link rel="copyright" href="copyright.html" title="License"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">current.docid</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="use.local.olink.style.html">Prev</a></td><th width="60%" align="center">Linking</th><td width="20%" align="right"><a accesskey="n" href="olink.doctitle.html">Next</a></td></tr></table><hr></div><div class="refentry" title="current.docid"><a name="current.docid"></a><div class="titlepage"></div>
<div class="refnamediv"><h2><span class="refentrytitle">current.docid</span></h2><p>
current.docid
— targetdoc identifier for the document being
processed
</p></div>
<div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2> <a name="current.docid.frag"></a><pre class="programlisting">
<xsl:param name="current.docid"></xsl:param>
</pre>
</div>
<div class="refsection" title="Description"><a name="id1388924"></a><h2>Description</h2>
<p>When olinks between documents are resolved for HTML output, the stylesheet can compute the relative path between the current document and the target document. The stylesheet needs to know the <code class="literal">targetdoc</code> identifiers for both documents, as they appear in the <a href="../html/target.database.document.html"><em class="parameter"><code>target.database.document</code></em></a> database file. This parameter passes to the stylesheet
the targetdoc identifier of the current document, since that
identifier does not appear in the document itself. </p>
<p>This parameter can also be used for print output. If an olink's <code class="literal">targetdoc</code> id differs from the <code class="literal">current.docid</code>, then the stylesheet can append the target document's title to the generated olink text. That identifies to the reader that the link is to a different document, not the current document. See also <a href="../html/olink.doctitle.html"><em class="parameter"><code>olink.doctitle</code></em></a> to enable that feature.</p>
</div>
</div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="use.local.olink.style.html">Prev</a></td><td width="20%" align="center"><a accesskey="u" href="links.html">Up</a></td><td width="40%" align="right"><a accesskey="n" href="olink.doctitle.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">use.local.olink.style</td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top">olink.doctitle</td></tr></table></div></body></html>
|