This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Param test in mode argument



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]