]> granicus.if.org Git - docbook-dsssl/commitdiff
Don't put watermarks on FOP; FOP doesn't understand them
authorNorman Walsh <ndw@nwalsh.com>
Fri, 1 Mar 2002 10:55:37 +0000 (10:55 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Fri, 1 Mar 2002 10:55:37 +0000 (10:55 +0000)
xsl/fo/pagesetup.xsl

index 1db99007d4fd7e23ba73995c5d152f26a8aa57c1..cacbed86a3b9bac9822d65955c9f8aa75cb03156 100644 (file)
@@ -53,7 +53,8 @@
                            margin-right="{$page.margin.outer}">
       <fo:region-body margin-bottom="{$body.margin.bottom}"
                       margin-top="{$body.margin.top}">
-        <xsl:if test="$draft.watermark.image != ''">
+        <xsl:if test="$draft.watermark.image != ''
+                      and $fop.extensions = 0">
           <xsl:attribute name="background-image">
             <xsl:value-of select="$draft.watermark.image"/>
           </xsl:attribute>