]> granicus.if.org Git - docbook-dsssl/commitdiff
Don't use SVG graphics if use.svg=0
authorNorman Walsh <ndw@nwalsh.com>
Sat, 12 Apr 2003 21:16:35 +0000 (21:16 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Sat, 12 Apr 2003 21:16:35 +0000 (21:16 +0000)
xsl/common/common.xsl

index 35dbfa0a3e2f3c76a475d9f4c4561a35329da7ec..2379566d50dd69cfaf52ca0ec1675946970ba3c8 100644 (file)
@@ -551,7 +551,7 @@ Defaults to the context node.</para>
        John Doe, Jane Doe, and A. Nonymous
   -->
   <xsl:param name="person.list"
-             select="./author|./corpauthor|./othercredit|./editor"/>
+             select="author|corpauthor|othercredit|editor"/>
   <xsl:param name="person.count" select="count($person.list)"/>
   <xsl:param name="count" select="1"/>
 
@@ -1037,6 +1037,7 @@ object is recognized as a graphic.</para>
   </xsl:variable>
 
   <xsl:choose>
+    <xsl:when test="$use.svg = 0 and $format = 'SVG'">0</xsl:when>
     <xsl:when xmlns:svg="http://www.w3.org/2000/svg"
               test="$use.svg != 0 and $object/svg:*">1</xsl:when>
     <xsl:when test="$graphic.format = '1'">1</xsl:when>