Subject: Param test in mode argument From: P Boichat <pcxpab@xxxxxxxxxxxxxxxx> Date: Wed, 20 Sep 2000 18:11:23 +0100 (BST) |
Hi, 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 processor.setStylesheetParam("myparam","'thisone'"); (for a xalan processor), The param seems to be passed correctly as I can <xsl:value-of select="$myparam"/> There is probably a way around this by changing the xml but it's really bugging me now....... Cheers Paul B. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Multi-language support and multiple, Rick Maddy | Thread | XSL and HTML layers, Bryce Wells |
Multi-language support and multiple, Rick Maddy | Date | XML fragments (was [XSLT/newbie]va, Evan Lenz |
Month |