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(_at_)isogen(_dot_)com
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