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