RE: [xsl] passing XSL variables

Subject: RE: [xsl] passing XSL variables
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Wed, 11 Jul 2001 09:17:25 +0100
> 		<xsl:if test="($search=year)">
> ...
> 
> 
> However, instead of using the literal string 'year', I want to use a
> variable containing the string 'year'.

You need test="$search=*[name()=$var]"

Mike Kay
Software AG
> 

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


Current Thread