[xsl] Simple lookup in XSLT2

Subject: [xsl] Simple lookup in XSLT2
From: Jens Stavnstrup <js@xxxxxxx>
Date: Tue, 14 Nov 2006 11:30:57 +0100 (CET)

I have for quite a few years used this primitive way of translating
from a month number to a month name.

<xslt:variable name="$months">

The actual lookup was done using a this expression


Where $month can be the string 1 .. 12.

This works just fine with XSLT 1.0, but for some strange reason, it does
not work for XSLT2.

I have massage the select statement beyound recognition, but it still does
not work. i am obviouly missing something basic XSLT2.



Current Thread