]> granicus.if.org Git - docbook-dsssl/commitdiff
Add SVG to the list of XEP graphics formats; use the url()/no-url() named template...
authorNorman Walsh <ndw@nwalsh.com>
Sun, 1 Sep 2002 14:49:35 +0000 (14:49 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Sun, 1 Sep 2002 14:49:35 +0000 (14:49 +0000)
xsl/fo/pagesetup.xsl

index 5f95ae872128b90846431fe36a3dc6e02a0b0418..0021f1ef76255f31b95792aece1e73d08c586edd 100644 (file)
         <xsl:if test="$draft.watermark.image != ''
                       and $fop.extensions = 0">
           <xsl:attribute name="background-image">
-            <xsl:value-of select="$draft.watermark.image"/>
+            <xsl:call-template name="fo-external-image">
+              <xsl:with-param name="filename" select="$draft.watermark.image"/>
+            </xsl:call-template>
           </xsl:attribute>
           <xsl:attribute name="background-attachment">fixed</xsl:attribute>
           <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
         <xsl:if test="$draft.watermark.image != ''
                       and $fop.extensions = 0">
           <xsl:attribute name="background-image">
-            <xsl:value-of select="$draft.watermark.image"/>
+            <xsl:call-template name="fo-external-image">
+              <xsl:with-param name="filename" select="$draft.watermark.image"/>
+            </xsl:call-template>
           </xsl:attribute>
           <xsl:attribute name="background-attachment">fixed</xsl:attribute>
           <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
         <xsl:if test="$draft.watermark.image != ''
                       and $fop.extensions = 0">
           <xsl:attribute name="background-image">
-            <xsl:value-of select="$draft.watermark.image"/>
+            <xsl:call-template name="fo-external-image">
+              <xsl:with-param name="filename" select="$draft.watermark.image"/>
+            </xsl:call-template>
           </xsl:attribute>
           <xsl:attribute name="background-attachment">fixed</xsl:attribute>
           <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
         <xsl:if test="$draft.watermark.image != ''
                       and $fop.extensions = 0">
           <xsl:attribute name="background-image">
-            <xsl:value-of select="$draft.watermark.image"/>
+            <xsl:call-template name="fo-external-image">
+              <xsl:with-param name="filename" select="$draft.watermark.image"/>
+            </xsl:call-template>
           </xsl:attribute>
           <xsl:attribute name="background-attachment">fixed</xsl:attribute>
           <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
         <xsl:if test="$draft.watermark.image != ''
                       and $fop.extensions = 0">
           <xsl:attribute name="background-image">
-            <xsl:value-of select="$draft.watermark.image"/>
+            <xsl:call-template name="fo-external-image">
+              <xsl:with-param name="filename" select="$draft.watermark.image"/>
+            </xsl:call-template>
           </xsl:attribute>
           <xsl:attribute name="background-attachment">fixed</xsl:attribute>
           <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
         <xsl:if test="$draft.watermark.image != ''
                       and $fop.extensions = 0">
           <xsl:attribute name="background-image">
-            <xsl:value-of select="$draft.watermark.image"/>
+            <xsl:call-template name="fo-external-image">
+              <xsl:with-param name="filename" select="$draft.watermark.image"/>
+            </xsl:call-template>
           </xsl:attribute>
           <xsl:attribute name="background-attachment">fixed</xsl:attribute>
           <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
         <xsl:if test="$draft.watermark.image != ''
                       and $fop.extensions = 0">
           <xsl:attribute name="background-image">
-            <xsl:value-of select="$draft.watermark.image"/>
+            <xsl:call-template name="fo-external-image">
+              <xsl:with-param name="filename" select="$draft.watermark.image"/>
+            </xsl:call-template>
           </xsl:attribute>
           <xsl:attribute name="background-attachment">fixed</xsl:attribute>
           <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
         <xsl:if test="$draft.watermark.image != ''
                       and $fop.extensions = 0">
           <xsl:attribute name="background-image">
-            <xsl:value-of select="$draft.watermark.image"/>
+            <xsl:call-template name="fo-external-image">
+              <xsl:with-param name="filename" select="$draft.watermark.image"/>
+            </xsl:call-template>
           </xsl:attribute>
           <xsl:attribute name="background-attachment">fixed</xsl:attribute>
           <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
         <xsl:if test="$draft.watermark.image != ''
                       and $fop.extensions = 0">
           <xsl:attribute name="background-image">
-            <xsl:value-of select="$draft.watermark.image"/>
+            <xsl:call-template name="fo-external-image">
+              <xsl:with-param name="filename" select="$draft.watermark.image"/>
+            </xsl:call-template>
           </xsl:attribute>
           <xsl:attribute name="background-attachment">fixed</xsl:attribute>
           <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
         <xsl:if test="$draft.watermark.image != ''
                       and $fop.extensions = 0">
           <xsl:attribute name="background-image">
-            <xsl:value-of select="$draft.watermark.image"/>
+            <xsl:call-template name="fo-external-image">
+              <xsl:with-param name="filename" select="$draft.watermark.image"/>
+            </xsl:call-template>
           </xsl:attribute>
           <xsl:attribute name="background-attachment">fixed</xsl:attribute>
           <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
         <xsl:if test="$draft.watermark.image != ''
                       and $fop.extensions = 0">
           <xsl:attribute name="background-image">
-            <xsl:value-of select="$draft.watermark.image"/>
+            <xsl:call-template name="fo-external-image">
+              <xsl:with-param name="filename" select="$draft.watermark.image"/>
+            </xsl:call-template>
           </xsl:attribute>
           <xsl:attribute name="background-attachment">fixed</xsl:attribute>
           <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
         <xsl:if test="$draft.watermark.image != ''
                       and $fop.extensions = 0">
           <xsl:attribute name="background-image">
-            <xsl:value-of select="$draft.watermark.image"/>
+            <xsl:call-template name="fo-external-image">
+              <xsl:with-param name="filename" select="$draft.watermark.image"/>
+            </xsl:call-template>
           </xsl:attribute>
           <xsl:attribute name="background-attachment">fixed</xsl:attribute>
           <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
         <xsl:if test="$draft.watermark.image != ''
                       and $fop.extensions = 0">
           <xsl:attribute name="background-image">
-            <xsl:value-of select="$draft.watermark.image"/>
+            <xsl:call-template name="fo-external-image">
+              <xsl:with-param name="filename" select="$draft.watermark.image"/>
+            </xsl:call-template>
           </xsl:attribute>
           <xsl:attribute name="background-attachment">fixed</xsl:attribute>
           <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
         <xsl:if test="$draft.watermark.image != ''
                       and $fop.extensions = 0">
           <xsl:attribute name="background-image">
-            <xsl:value-of select="$draft.watermark.image"/>
+            <xsl:call-template name="fo-external-image">
+              <xsl:with-param name="filename" select="$draft.watermark.image"/>
+            </xsl:call-template>
           </xsl:attribute>
           <xsl:attribute name="background-attachment">fixed</xsl:attribute>
           <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
         <xsl:if test="$draft.watermark.image != ''
                       and $fop.extensions = 0">
           <xsl:attribute name="background-image">
-            <xsl:value-of select="$draft.watermark.image"/>
+            <xsl:call-template name="fo-external-image">
+              <xsl:with-param name="filename" select="$draft.watermark.image"/>
+            </xsl:call-template>
           </xsl:attribute>
           <xsl:attribute name="background-attachment">fixed</xsl:attribute>
           <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
         <xsl:if test="$draft.watermark.image != ''
                       and $fop.extensions = 0">
           <xsl:attribute name="background-image">
-            <xsl:value-of select="$draft.watermark.image"/>
+            <xsl:call-template name="fo-external-image">
+              <xsl:with-param name="filename" select="$draft.watermark.image"/>
+            </xsl:call-template>
           </xsl:attribute>
           <xsl:attribute name="background-attachment">fixed</xsl:attribute>
           <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
         <xsl:if test="$draft.watermark.image != ''
                       and $fop.extensions = 0">
           <xsl:attribute name="background-image">
-            <xsl:value-of select="$draft.watermark.image"/>
+            <xsl:call-template name="fo-external-image">
+              <xsl:with-param name="filename" select="$draft.watermark.image"/>
+            </xsl:call-template>
           </xsl:attribute>
           <xsl:attribute name="background-attachment">fixed</xsl:attribute>
           <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
         <xsl:if test="$draft.watermark.image != ''
                       and $fop.extensions = 0">
           <xsl:attribute name="background-image">
-            <xsl:value-of select="$draft.watermark.image"/>
+            <xsl:call-template name="fo-external-image">
+              <xsl:with-param name="filename" select="$draft.watermark.image"/>
+            </xsl:call-template>
           </xsl:attribute>
           <xsl:attribute name="background-attachment">fixed</xsl:attribute>
           <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
         <xsl:if test="$draft.watermark.image != ''
                       and $fop.extensions = 0">
           <xsl:attribute name="background-image">
-            <xsl:value-of select="$draft.watermark.image"/>
+            <xsl:call-template name="fo-external-image">
+              <xsl:with-param name="filename" select="$draft.watermark.image"/>
+            </xsl:call-template>
           </xsl:attribute>
           <xsl:attribute name="background-attachment">fixed</xsl:attribute>
           <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>