[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] background-image question
Subject: Re: [xsl] background-image question From: "Ritu" <rkama@xxxxxxxxxxx> Date: Tue, 28 Jan 2003 16:00:10 -0600 |
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: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] background-image question, Koes, Derrick | Thread | Re: [xsl] background-image question, W. Eliot Kimber |
[xsl] <xsl:sort> and <xsl:copy-of> , Stanger, Jan | Date | RE: [xsl] background-image question, Dunning, John |
Month |