RE: [xsl] Variables in HTML tags

Subject: RE: [xsl] Variables in HTML tags
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Sun, 17 Feb 2002 18:53:25 -0000
> 
>       <td bgcolor="$CellColor" colspan="2">
> 
> ... and so on.
> 
> The problem is in the last line. The CellColor variable is 
> not replaced by
> the value of the variable. Rather, I just get the string "$GetColor".
> 
> How do I do this? 

<td bgcolor="{$CellColor}">

It's called an attribute value template.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 

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


Current Thread