diff options
Diffstat (limited to 'test/testdocs/db2html.xsl')
-rw-r--r-- | test/testdocs/db2html.xsl | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/test/testdocs/db2html.xsl b/test/testdocs/db2html.xsl index a83a72d8..53bfe218 100644 --- a/test/testdocs/db2html.xsl +++ b/test/testdocs/db2html.xsl @@ -5,10 +5,14 @@ <xsl:import href="../../xslt/docbook/html/db2html.xsl"/> +<xsl:param name="annotate" select="true()"/> + <xsl:template match="/*/*[preceding-sibling::*][name(.) != 'title']"> - <pre style="margin: 16px; padding: 0.8em; background-color: #9EB6D1; -moz-border-radius: 8px;"> - <xsl:apply-templates mode="source.mode" select="."/> - </pre> + <xsl:if test="$annotate"> + <pre style="margin: 16px; padding: 0.8em; background-color: #9EB6D1; -moz-border-radius: 8px;"> + <xsl:apply-templates mode="source.mode" select="."/> + </pre> + </xsl:if> <xsl:apply-imports/> </xsl:template> |