This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: How to use a variable for bgcolor?
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 26 Jun 2002 21:49:24 +0100
- Subject: Re: [xsl] How to use a variable for bgcolor?
- References: <3D1A1A5C.50A61DBF@gisnet.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> <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