RE: [xsl] Error when params are in Xpath expression

Subject: RE: [xsl] Error when params are in Xpath expression
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 12 May 2009 21:31:27 +0100
>   Or more precisely, for the OP:
> 
>     document('')/key('k', concat($str, '#', $toLang))
> 
>   Regards,
> 

Is he using XSLT 2.0? If so, he should be using a global variable instead of
document('').

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 

Current Thread