Include inline SVG in the output, too.
authorCameron McCormack <cam@mcc.id.au>
Sun, 27 May 2012 12:24:45 +1000
changeset 27 3ec73850b2e3
parent 26 a0b36f565b39
child 28 d154f3fcbf2b
Include inline SVG in the output, too.
publish.xsl
--- a/publish.xsl	Sat May 19 11:54:12 2012 +1000
+++ b/publish.xsl	Sun May 27 12:24:45 2012 +1000
@@ -5,6 +5,7 @@
 <xsl:stylesheet xmlns="http://www.w3.org/1999/xhtml"
                 xmlns:h="http://www.w3.org/1999/xhtml"
                 xmlns:m="http://www.w3.org/1998/Math/MathML"
+                xmlns:svg="http://www.w3.org/2000/svg"
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 xmlns:edit="http://xmlns.grorg.org/SVGT12NG/"
                 xmlns:x="http://mcc.id.au/ns/local"
@@ -1437,7 +1438,7 @@
     </xsl:for-each>
   </xsl:template>
 
-  <xsl:template match='m:*'>
+  <xsl:template match='m:* | svg:*'>
     <xsl:copy>
       <xsl:copy-of select='@*'/>
       <xsl:apply-templates/>