Param test in mode argument

Subject: Param test in mode argument
From: P Boichat <pcxpab@xxxxxxxxxxxxxxxx>
Date: Wed, 20 Sep 2000 18:11:23 +0100 (BST)

Is there any reason why I am unable to apply a template using a mode
argument that is obtained from a passed parameter i.e.

<xsl:param name="myparam" select="thisone"/>

<xsl:apply templates select="mynode" mode="$myparam">

<xsl:template match="mynode" mode="thisone">

where I have set the stylesheet param using 


(for a xalan processor),

The param seems to be passed correctly as I can <xsl:value-of

There is probably a way around this by changing the xml but it's really
bugging me now.......


Paul B.

 XSL-List info and archive:

Current Thread