]> granicus.if.org Git - docbook-dsssl/commitdiff
Suppress the SVG/MathML variants of imagedata
authorNorman Walsh <ndw@nwalsh.com>
Fri, 2 Jun 2006 19:06:12 +0000 (19:06 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Fri, 2 Jun 2006 19:06:12 +0000 (19:06 +0000)
docbook/relaxng/tools/doc2dtd.xsl

index 3f1a359e70cfc8c046563ee4deb6c6c399819b39..67cb44edc7e60d6e2fc853b0588bba6bc7121614 100644 (file)
       </dtd:attlist>
     </xsl:when>
 
+    <!-- suppress the SVG/MathML imagedata alternatives -->
+    <xsl:when test="@name = 'db.imagedata.mathml'
+                   or @name = 'db.imagedata.svg'">
+      <!-- nop -->
+    </xsl:when>
+
     <xsl:otherwise>
       <xsl:apply-templates/>
     </xsl:otherwise>
                    and ../rng:ref[@name='db.cals.informaltable']">
       <!-- suppress -->
     </xsl:when>
-    <xsl:when test="@name = 'db._any.svg' or @name='db._any.mathml'">
+    <xsl:when test="@name = 'db._any.svg'
+                   or @name = 'db._any.mathml'
+                   or @name = 'db.imagedata.svg'
+                   or @name = 'db.imagedata.mathml'">
       <!-- suppress -->
     </xsl:when>
     <xsl:when test="$def/rng:element">