1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>html.head.legalnotice.link.types</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="meta.html" title="Meta/*Info and Titlepages"><link rel="prev" href="generate.revhistory.link.html" title="generate.revhistory.link"><link rel="next" href="html.head.legalnotice.link.multiple.html" title="html.head.legalnotice.link.multiple"><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">html.head.legalnotice.link.types</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="generate.revhistory.link.html">Prev</a></td><th width="60%" align="center">Meta/*Info and Titlepages</th><td width="20%" align="right"><a accesskey="n" href="html.head.legalnotice.link.multiple.html">Next</a></td></tr></table><hr></div><div class="refentry" title="html.head.legalnotice.link.types"><a name="html.head.legalnotice.link.types"></a><div class="titlepage"></div>
<div class="refnamediv"><h2><span class="refentrytitle">html.head.legalnotice.link.types</span></h2><p>
html.head.legalnotice.link.types
— Specifies link types for legalnotice link in html head
</p></div>
<div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2>
<a name="html.head.legalnotice.link.types.frag"></a><pre class="programlisting">
<xsl:param name="html.head.legalnotice.link.types">copyright</xsl:param>
</pre>
</div>
<div class="refsection" title="Description"><a name="id1386228"></a><h2>Description</h2>
<p>The value of
<a href="../html/html.head.legalnotice.link.types.html"><em class="parameter"><code>html.head.legalnotice.link.types</code></em></a> is a
space-separated list of link types, as described in <a class="ulink" href="http://www.w3.org/TR/html401/types.html#type-links" target="_top">Section 6.12
of the HTML 4.01 specification</a>. If the value of the
<a href="../html/generate.legalnotice.link.html"><em class="parameter"><code>generate.legalnotice.link</code></em></a> parameter is
non-zero, then the stylesheet generates (in the
<code class="literal">head</code> section of the HTML source) either a single
HTML <code class="literal">link</code> element or, if the value of the
<a href="../html/html.head.legalnotice.link.multiple.html"><em class="parameter"><code>html.head.legalnotice.link.multiple</code></em></a> is
non-zero, one <code class="literal">link</code> element for each link type
specified. Each <code class="literal">link</code> has the following attributes:
</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
<p>a <code class="sgmltag-attribute">rel</code> attribute whose
value is derived from the value of
<a href="../html/html.head.legalnotice.link.types.html"><em class="parameter"><code>html.head.legalnotice.link.types</code></em></a></p>
</li><li class="listitem">
<p>an <code class="sgmltag-attribute">href</code> attribute whose
value is set to the URL of the file containing the
<a href="http://docbook.org/tdg5/en/html/legalnotice.html"><code class="sgmltag-element">legalnotice</code></a></p>
</li><li class="listitem">
<p>a <code class="sgmltag-attribute">title</code> attribute whose
value is set to the title of the corresponding
<a href="http://docbook.org/tdg5/en/html/legalnotice.html"><code class="sgmltag-element">legalnotice</code></a> (or a title programatically
determined by the stylesheet)</p>
</li></ul></div><p>
For example:
</p><pre class="screen"> <link rel="license" href="ln-id2524073.html" title="Legal Notice"></pre><p>
</p>
<div class="refsection" title="About the default value"><a name="id1386241"></a><h3>About the default value</h3>
<p>In an ideal world, the default value of
<a href="../html/html.head.legalnotice.link.types.html"><em class="parameter"><code>html.head.legalnotice.link.types</code></em></a> would
probably be “<code class="literal">license</code>”, since the content of the
DocBook <a href="http://docbook.org/tdg5/en/html/legalnotice.html"><code class="sgmltag-element">legalnotice</code></a> is typically license
information, not copyright information. However, the default value
is “<code class="literal">copyright</code>” for pragmatic reasons: because
that’s among the set of “recognized link types” listed in <a class="ulink" href="http://www.w3.org/TR/html401/types.html#type-links" target="_top">Section
6.12 of the HTML 4.01 specification</a>, and because certain
browsers and browser extensions are preconfigured to recognize that
value.</p>
</div>
</div>
</div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="generate.revhistory.link.html">Prev</a></td><td width="20%" align="center"><a accesskey="u" href="meta.html">Up</a></td><td width="40%" align="right"><a accesskey="n" href="html.head.legalnotice.link.multiple.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">generate.revhistory.link</td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top">html.head.legalnotice.link.multiple</td></tr></table></div></body></html>
|