From 15c7d39533a1eb1da0748011f3378fd0f02ed14d Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Tue, 8 Oct 2013 20:03:29 +0000 Subject: Update stylesheets to docbook-xsl-1.78.1. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- .../params/generate.id.attributes.xml | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/generate.id.attributes.xml (limited to 'stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/generate.id.attributes.xml') diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/generate.id.attributes.xml b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/generate.id.attributes.xml new file mode 100644 index 000000000..6326841d6 --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/generate.id.attributes.xml @@ -0,0 +1,59 @@ + + +generate.id.attributes +boolean + + +generate.id.attributes +Generate ID attributes on container elements? + + + + + + + + +Description + +If non-zero, the HTML stylesheet will generate ID attributes on +containers. For example, the markup: + +<section id="foo"><title>Some Title</title> +<para>Some para.</para> +</section> + +might produce: + +<div class="section" id="foo"> +<h2>Some Title</h2> +<p>Some para.</p> +</div> + +The alternative is to generate anchors: + +<div class="section"> +<h2><a name="foo"></a>Some Title</h2> +<p>Some para.</p> +</div> + +Because the name attribute of +the a element and the id +attribute of other tags are both of type ID, producing both +generates invalid documents. + +As of version 1.50, you can use this switch to control which type of +identifier is generated. For backwards-compatibility, generating +a anchors is preferred. + +Note: at present, this switch is incompletely implemented. +Disabling ID attributes will suppress them, but enabling ID attributes +will not suppress the anchors. + + + -- cgit v1.2.3-54-g00ecf