]> granicus.if.org Git - docbook-dsssl/commitdiff
Added role/class attributes on some <tag>s to prevent generation of TDG links for...
authorMauritz Jeanson <mj@johanneberg.com>
Thu, 12 Jul 2007 08:59:51 +0000 (08:59 +0000)
committerMauritz Jeanson <mj@johanneberg.com>
Thu, 12 Jul 2007 08:59:51 +0000 (08:59 +0000)
attributes and HTML elements.

xsl/params/generate.meta.abstract.xml
xsl/params/index.on.type.xml
xsl/params/use.embed.for.svg.xml

index 62176b261fd19d837f3c5d6f1791eba3ed473112..521527b5458a811279f0dd5e0e5714ed30d2243c 100644 (file)
@@ -10,7 +10,7 @@
 </refmeta>
 <refnamediv>
 <refname>generate.meta.abstract</refname>
-<refpurpose>Generate HTML <tag>META</tag> element from <tag>abstract</tag>?</refpurpose>
+<refpurpose>Generate HTML <tag role="html">META</tag> element from <tag>abstract</tag>?</refpurpose>
 </refnamediv>
 
 <refsynopsisdiv>
@@ -22,7 +22,7 @@
 <refsection><info><title>Description</title></info>
 
 <para>If non-zero, document abstracts will be reproduced in the HTML
-<tag>HEAD</tag> with <tag class="starttag">meta name="description" content="..."</tag>.</para>
+<tag role="html">HEAD</tag> with <tag class="starttag">meta name="description" content="..."</tag>.</para>
 
 </refsection>
 </refentry>
index e19dfbc8e7a2f0e9f0a5bff8a3452885ac18812a..1d20226b3acfe901faddaf1d000ddd8941845bf5 100644 (file)
@@ -10,7 +10,7 @@
 </refmeta>
 <refnamediv>
 <refname>index.on.type</refname>
-<refpurpose>Select indexterms based on <tag>type</tag>
+<refpurpose>Select indexterms based on <tag class="attribute">type</tag>
 attribute value</refpurpose>
 </refnamediv>
 
@@ -25,24 +25,24 @@ attribute value</refpurpose>
 <para>
 If non-zero, 
 then an <tag>index</tag> element that has a
-<tag>type</tag> attribute
+<tag class="attribute">type</tag> attribute
 value will contain only those <tag>indexterm</tag>
 elements with a matching <tag>type</tag> attribute value.
-If an <tag>index</tag> has no <tag>type</tag>
+If an <tag>index</tag> has no <tag class="attribute">type</tag>
 attribute or it is blank, then the index will contain
 all <tag>indexterm</tag>s in the current scope.
 </para>
 
 <para>
 If <literal>index.on.type</literal> is zero, then the
-<tag>type</tag> attribute has no effect
+<tag class="attribute">type</tag> attribute has no effect
 on selecting indexterms for an index.
 </para>
 
 <para>For those using DocBook version 4.2 or earlier,
 the <tag>type</tag> attribute is not available
 for index terms.  However, you can achieve the same
-effect by using the <tag>role</tag> attribute
+effect by using the <tag class="attribute">role</tag> attribute
 in the same manner on <tag>indexterm</tag>
 and <tag>index</tag>, and setting the stylesheet parameter 
 <parameter>index.on.role</parameter> to a nonzero value.
index f7c52cc5ffa05522de2ee5368ebe38abbc55baf8..dbf0b0668a478003c1a7bdb99b9e0087c61cc652 100644 (file)
@@ -10,7 +10,7 @@
 </refmeta>
 <refnamediv>
 <refname>use.embed.for.svg</refname>
-<refpurpose>Use HTML <tag>embed</tag> for SVG?</refpurpose>
+<refpurpose>Use HTML <tag role="html">embed</tag> for SVG?</refpurpose>
 </refnamediv>
 
 <refsynopsisdiv>
 
 <refsection><info><title>Description</title></info>
 
-<para>If non-zero, an <tag>embed</tag> element will be created for
-SVG figures. An <tag>object</tag> is <emphasis>always</emphasis> created,
-this parameter merely controls whether or not an additional <tag>embed</tag>
-is generated inside the <tag>object</tag>.</para>
+<para>If non-zero, an <tag role="html">embed</tag> element will be created for
+SVG figures. An <tag role="html">object</tag> is <emphasis>always</emphasis> created,
+this parameter merely controls whether or not an additional <tag role="html">embed</tag>
+is generated inside the <tag role="html">object</tag>.</para>
 
 <para>On the plus side, this may be more portable among browsers and plug-ins.
 On the minus side, it isn't valid HTML.</para>