Re: [xsl] background-image question

Subject: Re: [xsl] background-image question
From: "W. Eliot Kimber" <eliot@xxxxxxxxxx>
Date: Tue, 28 Jan 2003 16:13:54 -0600
Ritu wrote:
I don't know much about fo, but try putting the literal 'draft.jpg' in
quotes - That's how xsl:attribute would work.
<fo:block>
         <xsl:attribute name="background-image">
           <xsl:value-of select=" 'draft.jpg' "/>
         </xsl:attribute>

All references to files in XSL-FO are URLs and should be identified as such with the "url()" wrapper:


 <fo:block>
          <xsl:attribute name="background-image"
          >url(draft.jpg)</xsl:attribute>

--
W. Eliot Kimber, eliot@xxxxxxxxxx
Consultant, ISOGEN International

1016 La Posada Dr., Suite 240
Austin, TX  78752 Phone: 512.656.4139


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



Current Thread