Subject: RE: xsl variables From: Kay Michael <Michael.Kay@xxxxxxx> Date: Mon, 19 Jul 1999 12:13:56 +0100 |
try: <xsl:attribute name="bgcolor"><xsl:value-of select="$foo"/></xsl:attribute> Mike Kay > -----Original Message----- > From: Marco.Mistroni@xxxxxxxxx [mailto:Marco.Mistroni@xxxxxxxxx] > Sent: 19 July 1999 07:26 > To: xsl-list@xxxxxxxxxxxxxxxx > Subject: xsl variables > > > HI all, > I have a problem: I have two xsl files, the first that > import the > second > In the second xsl file I have a table, and I want to change > the background > color of the table based on a variable contained in the first xsl file > I defined an xsl variable called 'bgcolor' in the following way: > <xsl:variable name="foo" select="White"/> > Then in the second xsl file I have > > <TD> > <xsl:attribute name="bgcolor"> and I have to put here the > value of the > variable called 'foo' as value of the attribute > I tried by doing "{$foo}" but it didn't work > Anyone can help me please??? > Br > marco > > > 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 -> |
---|---|---|
RE: xsl variables, Siegfried Haag | Thread | RE: xsl variables, Marco . Mistroni |
RE: external variables, Kay Michael | Date | RE: FOP 0.8.2 released, Earl Bingham |
Month |