]> granicus.if.org Git - docbook-dsssl/commitdiff
Added support for SVG content in imagedata (inspired by patch #2909154).
authorMauritz Jeanson <mj@johanneberg.com>
Wed, 28 Jul 2010 17:26:46 +0000 (17:26 +0000)
committerMauritz Jeanson <mj@johanneberg.com>
Wed, 28 Jul 2010 17:26:46 +0000 (17:26 +0000)
xsl/fo/graphics.xsl

index 14f211fcbaf3169302123b9827558d1dc5b28e0c..1154f8483db5bfc41b3534ca521a8ea89b07e140 100644 (file)
     <xsl:when test="mml:*" xmlns:mml="http://www.w3.org/1998/Math/MathML">
       <xsl:apply-templates/>
     </xsl:when>
-  
+
+    <xsl:when test="svg:*" xmlns:svg="http://www.w3.org/2000/svg">
+      <fo:instream-foreign-object>
+        <xsl:apply-templates mode="copy-all" select="*"/>
+      </fo:instream-foreign-object>
+    </xsl:when>
+
     <xsl:when test="@format='linespecific'">
       <xsl:choose>
         <xsl:when test="$use.extensions != '0'