Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release > by-pkgid > 6e019a662639ac6470f50dea3a4d8157 > files > 669

docbook-style-xsl-doc-1.79.2-4.mga7.noarch.rpm

<html><head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <title>l10n.gentext.use.xref.language</title><link rel="stylesheet" type="text/css" href="../reference.css"><meta name="generator" content="DocBook XSL Stylesheets V1.79.2"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: Reference&nbsp;Documentation"><link rel="up" href="l10n.html" title="Localization"><link rel="prev" href="l10n.gentext.default.language.html" title="l10n.gentext.default.language"><link rel="next" href="l10n.lang.value.rfc.compliant.html" title="l10n.lang.value.rfc.compliant"><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">l10n.gentext.use.xref.language</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="l10n.gentext.default.language.html">Prev</a>&nbsp;</td><th width="60%" align="center">Localization</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="l10n.lang.value.rfc.compliant.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="l10n.gentext.use.xref.language"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">l10n.gentext.use.xref.language</span></h2><p>l10n.gentext.use.xref.language &#8212; Use the language of target when generating cross-reference text?</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><a name="l10n.gentext.use.xref.language.frag"></a><pre class="programlisting">
&lt;xsl:param name="l10n.gentext.use.xref.language" select="0"&gt;&lt;/xsl:param&gt;
</pre></div><div class="refsection"><a name="d0e11248"></a><h2>Description</h2><p>If non-zero, the language of the target will be used when
generating cross reference text. Usually, the <span class="quote">&#8220;<span class="quote">current</span>&#8221;</span>
language is used when generating text (that is, the language of the
element that contains the cross-reference element). But setting this parameter
allows the language of the element <span class="emphasis"><em>pointed to</em></span> to control
the generated text.</p><p>Consider the following example:</p><div class="informalexample"><pre class="programlisting">&lt;para lang="en"&gt;See also &lt;xref linkend="chap3"/&gt;.&lt;/para&gt;
</pre></div><p>Suppose that Chapter 3 happens to be written in German.
If <em class="parameter"><code>l10n.gentext.use.xref.language</code></em> is non-zero, the
resulting text will be something like this:</p><div class="blockquote"><blockquote class="blockquote"><p>See also Kapital 3.</p></blockquote></div><p>Where the more traditional rendering would be:</p><div class="blockquote"><blockquote class="blockquote"><p>See also Chapter 3.</p></blockquote></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="l10n.gentext.default.language.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="l10n.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="l10n.lang.value.rfc.compliant.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">l10n.gentext.default.language&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;l10n.lang.value.rfc.compliant</td></tr></table></div></body></html>