[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Test a node set based on an attribute that will match a variable


Subject: Re: [xsl] Test a node set based on an attribute that will match a variable
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 21 Jan 2005 10:00:24 GMT

> Is this just illegal all around, or is there a way to have this work too?

you can not have variable references in a match pattern in XSLt1 (you
will be able to in XSLT2)

This isn't a real restriction, just match on spec_off/offer and then put
the test on $version into an xsl:if or xsl:when inside the template body.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


Current Thread