<xsl:template match="para">
<xsl:variable name="p">
<p>
+ <xsl:if test="@role and $para.propagates.style != 0">
+ <xsl:attribute name="class">
+ <xsl:value-of select="@role"/>
+ </xsl:attribute>
+ </xsl:if>
+
<xsl:if test="position() = 1 and parent::listitem">
<xsl:call-template name="anchor">
<xsl:with-param name="node" select="parent::listitem"/>
<xsl:template match="simpara">
<!-- see also listitem/simpara in lists.xsl -->
<p>
+ <xsl:if test="@role and $para.propagates.style != 0">
+ <xsl:attribute name="class">
+ <xsl:value-of select="@role"/>
+ </xsl:attribute>
+ </xsl:if>
+
<xsl:call-template name="anchor"/>
<xsl:apply-templates/>
</p>
<xsl:template match="formalpara">
<p>
+ <xsl:if test="@role and $para.propagates.style != 0">
+ <xsl:attribute name="class">
+ <xsl:value-of select="@role"/>
+ </xsl:attribute>
+ </xsl:if>
+
<xsl:call-template name="anchor"/>
<xsl:apply-templates/>
</p>
</xsl:when>
<xsl:otherwise>
<p>
+ <xsl:if test="@role and $para.propagates.style != 0">
+ <xsl:attribute name="class">
+ <xsl:value-of select="@role"/>
+ </xsl:attribute>
+ </xsl:if>
+
<xsl:call-template name="anchor"/>
<xsl:apply-templates/>
</p>
<!ENTITY use.role.as.xrefstyle SYSTEM "../params/use.role.as.xrefstyle.xml">
<!ENTITY use.svg SYSTEM "../params/use.svg.xml">
<!ENTITY variablelist.as.table SYSTEM "../params/variablelist.as.table.xml">
+<!ENTITY para.propagates.style SYSTEM "../params/para.propagates.style.xml">
&css.decoration;
&spacing.paras;
&emphasis.propagates.style;
+¶.propagates.style;
&phrase.propagates.style;
&html.longdesc;
&html.longdesc.link;
<src:fragref linkend="olink.pubid.frag"/>
<src:fragref linkend="olink.resolver.frag"/>
<src:fragref linkend="olink.sysid.frag"/>
+<src:fragref linkend="para.propagates.style.frag"/>
<src:fragref linkend="part.autolabel.frag"/>
<src:fragref linkend="phrase.propagates.style.frag"/>
<src:fragref linkend="pixels.per.inch.frag"/>