This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Variables in HTML tags


> 
>       <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@ntlworld.com
work: Michael.Kay@softwareag.com 

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]