RE: xsl variables

Subject: RE: xsl variables
From: Siegfried Haag <Siegfried.Haag@xxxxxxxxxxxxxx>
Date: Mon, 19 Jul 1999 10:27:31 +0100
Hi Marco,

the foo in the second xsl looks like Perl or so and that will not work (normally).
It depends on who interprets the Styles.

Thats the question.
On server or on client, what client?
And it depends on how the second style is "called".

Siegfried Haag
Software AG


Hl 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