+++ /dev/null
-<refentry xmlns="http://docbook.org/ns/docbook"\r
- xmlns:xlink="http://www.w3.org/1999/xlink"\r
- xmlns:xi="http://www.w3.org/2001/XInclude"\r
- xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"\r
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"\r
- version="5.0" xml:id="generate.id.attributes">\r
-<refmeta>\r
-<refentrytitle>generate.id.attributes</refentrytitle>\r
-<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>\r
-</refmeta>\r
-<refnamediv>\r
-<refname>generate.id.attributes</refname>\r
-<refpurpose>Generate ID attributes on container elements?</refpurpose>\r
-</refnamediv>\r
-\r
-<refsynopsisdiv>\r
-<src:fragment xml:id="generate.id.attributes.frag">\r
-<xsl:param name="generate.id.attributes" select="0"/>\r
-</src:fragment>\r
-</refsynopsisdiv>\r
-\r
-<refsection><info><title>Description</title></info>\r
-\r
-<para>If non-zero, the HTML stylesheet will generate ID attributes on\r
-containers. For example, the markup:</para>\r
-\r
-<screen><section id="foo"><title>Some Title</title>\r
-<para>Some para.</para>\r
-</section></screen>\r
-\r
-<para>might produce:</para>\r
-\r
-<screen><div class="section" id="foo">\r
-<h2>Some Title</h2>\r
-<p>Some para.</p>\r
-</div></screen>\r
-\r
-<para>The alternative is to generate anchors:</para>\r
-\r
-<screen><div class="section">\r
-<h2><a name="foo"></a>Some Title</h2>\r
-<p>Some para.</p>\r
-</div></screen>\r
-\r
-<para>Because the <tag class="attribute">name</tag> attribute of\r
-the <tag>a</tag> element and the <tag class="attribute">id</tag>\r
-attribute of other tags are both of type <quote>ID</quote>, producing both\r
-generates invalid documents.</para>\r
-\r
-<para>As of version 1.50, you can use this switch to control which type of\r
-identifier is generated. For backwards-compatibility, generating\r
-<tag>a</tag> anchors is preferred.</para>\r
-\r
-<para>Note: at present, this switch is incompletely implemented.\r
-Disabling ID attributes will suppress them, but enabling ID attributes\r
-will not suppress the anchors.</para>\r
-\r
-</refsection>\r
-</refentry>\r