Handle \code ... \endcode blocks

[SVN r20318]
This commit is contained in:
Douglas Gregor 2003-10-09 04:32:44 +00:00
parent 3d7beff32d
commit 0d101f6515

View File

@ -1128,4 +1128,19 @@ Cannot handle memberdef element with kind=<xsl:value-of select="@kind"/>
</xsl:choose> </xsl:choose>
</xsl:template> </xsl:template>
<!-- Handle program listings -->
<xsl:template match="programlisting" mode="passthrough">
<programlisting>
<xsl:apply-templates mode="programlisting"/>
</programlisting>
</xsl:template>
<xsl:template match="highlight|sp" mode="programlisting">
<xsl:apply-templates mode="programlisting"/>
</xsl:template>
<xsl:template match="*" mode="programlisting">
<xsl:apply-templates select="." mode="passthrough"/>
</xsl:template>
</xsl:stylesheet> </xsl:stylesheet>