]> granicus.if.org Git - docbook-dsssl/commitdiff
Support MathML by passing it through unchanged
authorNorman Walsh <ndw@nwalsh.com>
Sun, 12 May 2002 11:17:23 +0000 (11:17 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Sun, 12 May 2002 11:17:23 +0000 (11:17 +0000)
xsl/html/math.xsl

index 878aef848cd3c61370f40c0df59a321b1e5f39f1..2af155f12507cabc62979792b82a8e33a7c1a726 100644 (file)
 <xsl:template match="alt">
 </xsl:template>
 
+<!-- "Support" for MathML -->
+
+<xsl:template match="mml:*" xmlns:mml="http://www.w3.org/1998/Math/MathML">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates/>
+  </xsl:copy>
+</xsl:template>
+
 <!-- Support for TeX math in alt -->
 
 <xsl:template match="*" mode="collect.tex.math">