Hi all,

I created some custom fo:simple-page-masters for the DocBook/4, v.1.78.1
and while adding support for draft mode to them, I wondered why the
original authors bothered with putting

  <xsl:if test="$draft.watermark.image != ''">
    <xsl:attribute name="background-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:attribute name="background-position-horizontal">center</xsl:attribute>
    <xsl:attribute name="background-position-vertical">center</xsl:attribute>
  </xsl:if>

everywhere, instead of just adding an attribute set to param.xsl. Any
reasons?

Stefan
-- 
SUSE LINUX GmbH, Maxfeldstraße 5, D-90409 Nürnberg
Geschäftsführer: Jeff Hawn, Jennifer Guild, Felix Imendörffer
HRB 21284 (AG Nürnberg)


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-h...@lists.oasis-open.org

Reply via email to