xsl-list
[Top] [All Lists]

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

2005-01-21 03:00:24

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
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--