[xsl] XPST0008: Error in use-when expression. Variables (other than XSLT 3.0 static variables) cannot be used in a use-when expression

Subject: [xsl] XPST0008: Error in use-when expression. Variables (other than XSLT 3.0 static variables) cannot be used in a use-when expression
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Tue, 14 May 2013 08:57:50 +0100
Hi,

I just had the error (from Saxon 9.5.0.1):

XPST0008: Error in use-when expression. Variables (other than XSLT 3.0
static variables) cannot be used in a use-when expression

What's a static variable in 3.0?   I can't find anything in the spec
on how to make a global variable a 'static' variable...

thanks

-- 
Andrew Welch
http://andrewjwelch.com

Current Thread