html.head.legalnotice.link.multiple.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <refentry xmlns="http://docbook.org/ns/docbook"
  2. xmlns:xlink="http://www.w3.org/1999/xlink"
  3. xmlns:xi="http://www.w3.org/2001/XInclude"
  4. xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
  5. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  6. version="5.0" xml:id="html.head.legalnotice.link.multiple">
  7. <refmeta>
  8. <refentrytitle>html.head.legalnotice.link.multiple</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>html.head.legalnotice.link.multiple</refname>
  13. <refpurpose>Generate multiple link instances in html head for legalnotice?</refpurpose>
  14. </refnamediv>
  15. <refsynopsisdiv>
  16. <src:fragment xml:id="html.head.legalnotice.link.multiple.frag">
  17. <xsl:param name="html.head.legalnotice.link.multiple" select="1"/>
  18. </src:fragment>
  19. </refsynopsisdiv>
  20. <refsection><info><title>Description</title></info>
  21. <para>If <parameter>html.head.legalnotice.link.multiple</parameter> is
  22. non-zero and the value of
  23. <parameter>html.head.legalnotice.link.types</parameter> contains
  24. multiple link types, then the stylesheet generates (in the
  25. <literal>head</literal> section of the HTML source) one
  26. <literal>link</literal> element for each link type specified. For
  27. example, if the value of
  28. <parameter>html.head.legalnotice.link.types</parameter> is
  29. “<literal>copyright license</literal>”:
  30. <screen> &lt;link rel="copyright" href="ln-id2524073.html" title="Legal Notice"&gt;
  31. &lt;link rel="license" href="ln-id2524073.html" title="Legal Notice"&gt;</screen>
  32. Otherwise, the stylesheet generates generates a single
  33. <literal>link</literal> instance; for example:
  34. <screen> &lt;link rel="copyright license" href="ln-id2524073.html" title="Legal Notice"&gt;</screen>
  35. </para>
  36. </refsection>
  37. </refentry>