Re: [xsl] How to use a variable for bgcolor?

Subject: Re: [xsl] How to use a variable for bgcolor?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 26 Jun 2002 21:49:24 +0100

> <xsl:variable name="colr" select="#FFCCCC"/>
that would select elements named #FFCCCC except element names can't
begin with # you want the xpath string so
<xsl:variable name="colr" select="'#FFCCCC'"/>

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread