[xsl] background-image question

Subject: [xsl] background-image question
From: "Koes, Derrick" <Derrick.Koes@xxxxxxxxxxxxxxxx>
Date: Tue, 28 Jan 2003 16:51:57 -0500
Interestingly enough, putting the background-image attribute as a "real"
attribute of fo:block in the transform produces the desired result.
However, adding it with an xsl:attribute element does not produce the
desired result.
I think I need to use xsl:attribute because I want to add/set the attribute
conditionally.

1.  works:

<fo:block background-image="draft.jpg">


2.  does not work:

<fo:block>
        <xsl:attribute name="background-image">
          <xsl:value-of select="draft.jpg"/>
        </xsl:attribute>

Any help is appreciated.
This electronic transmission is strictly confidential to Smith & Nephew and
intended solely for the addressee.  It may contain information which is
covered by legal, professional or other privilege.  If you are not the
intended addressee, or someone authorized by the intended addressee to
receive transmissions on behalf of the addressee, you must not retain,
disclose in any form, copy or take any action in reliance on this
transmission.  If you have received this transmission in error, please
notify the sender as soon as possible and destroy this message.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread