[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: background-image question

Subject: Re: background-image question
From: "Ritu" <rkama@xxxxxxxxxxx>
Date: Tue, 28 Jan 2003 16:00:10 -0600
fop background image
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>


Ritu Kama
Sarvega Inc
745, McLintock Dr
Burr Ridge
IL - 60527
----- Original Message -----
From: "Koes, Derrick" <Derrick.Koes@xxxxxxxxxxxxxxxx>
To: <fop-user@xxxxxxxxxxxxxx>
Cc: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, January 28, 2003 3:51 PM
Subject:  background-image question


>
> 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
>


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.