0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-22 08:21:52 +00:00

Minor whitespace and div fixes for XSLT

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1667 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang 2008-04-22 02:24:11 +00:00
parent 39be09ee14
commit 8708c0617a

View File

@ -56,10 +56,12 @@
<xsl:template match="title" />
<xsl:template match="namespace">
<xsl:apply-templates />
<xsl:if test="count(directive)=0">
<p>No configuration directives defined for this namespace.</p>
</xsl:if>
<div class="namespace">
<xsl:apply-templates />
<xsl:if test="count(directive)=0">
<p>No configuration directives defined for this namespace.</p>
</xsl:if>
</div>
</xsl:template>
<xsl:template match="namespace/name">
<h2 id="{../@id}"><xsl:value-of select="." /></h2>
@ -72,11 +74,7 @@
<xsl:template match="directive">
<div>
<xsl:attribute name="class">
directive
<xsl:if test="deprecated">
deprecated
</xsl:if>
<xsl:attribute name="class">directive<xsl:if test="deprecated"> deprecated</xsl:if>
</xsl:attribute>
<xsl:apply-templates />
</div>