]> git.stg.codes - stg.git/blob - doc/xslt/params/emphasis.propagates.style.xml
Help book chapter 2 complete
[stg.git] / doc / xslt / params / emphasis.propagates.style.xml
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="emphasis.propagates.style">
7 <refmeta>
8 <refentrytitle>emphasis.propagates.style</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
10 </refmeta>
11 <refnamediv>
12 <refname>emphasis.propagates.style</refname>
13 <refpurpose>Pass emphasis role attribute through to HTML?</refpurpose>
14 </refnamediv>
15 <refsynopsisdiv>
16 <src:fragment xml:id="emphasis.propagates.style.frag">
17 <xsl:param name="emphasis.propagates.style" select="1"/>
18 </src:fragment>
19 </refsynopsisdiv>
20 <refsection><info><title>Description</title></info>
21 <para>If non-zero, the <literal>role</literal> attribute of
22 <tag>emphasis</tag> elements will be passed through to the HTML as a
23 class attribute on a <literal>span</literal> that surrounds the
24 emphasis.</para>
25 </refsection>
26 </refentry>