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

RE: xsl variables

Subject: RE: xsl variables
From: Marco.Mistroni@xxxxxxxxx
Date: Mon, 19 Jul 1999 15:32:59 +0300
xsl variables
Hi mike,
	Thanx, it works!!
Br
marco

-----Original Message-----
From:	EXT Kay Michael [mailto:Michael.Kay@xxxxxxx]
Sent:	19. July 1999 14:14
To:	'xsl-list@xxxxxxxxxxxxxxxx'
Subject:	RE: xsl variables

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


 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.