Refclass in HTML and FO output. Did not add it to manpages because
manpages stylesheet is currently just silently ignoring Refclass
anyway. Closes request #
1461065. Thanks to Davor Ocelic (docelic)
for reporting.
******************************************************************** -->
<!-- ==================================================================== -->
+<!--* FIXME - need to document the following param -->
+<xsl:param name="refclass.suppress" select="0"/>
<xsl:template match="reference">
<xsl:if test="not(partintro)">
</xsl:template>
<xsl:template match="refclass">
+ <xsl:if test="$refclass.suppress = 0">
<fo:block font-weight="bold">
<xsl:if test="@role">
<xsl:value-of select="@role"/>
</xsl:if>
<xsl:apply-templates/>
</fo:block>
+ </xsl:if>
</xsl:template>
<xsl:template match="refsynopsisdiv">
<!-- ==================================================================== -->
+<!--* FIXME - need to document the following param -->
+<xsl:param name="refclass.suppress" select="0"/>
+
<xsl:template match="reference">
<xsl:call-template name="id.warning"/>
</xsl:template>
<xsl:template match="refclass">
+ <xsl:if test="$refclass.suppress = 0">
<p>
<b>
<xsl:if test="@role">
<xsl:apply-templates/>
</b>
</p>
+ </xsl:if>
</xsl:template>
<xsl:template match="refsynopsisdiv">