RE: [xsl] can a value of a parameter depends on a other value

Subject: RE: [xsl] can a value of a parameter depends on a other value
From: Roelof Wobben <rwobben@xxxxxxxxxxx>
Date: Wed, 30 Nov 2011 10:22:29 +0000
Hello,



This script does not work



<xsl:with-param name="articlesperpage">
<xsl:choose>
   <xsl:when test=" $value = 2005-02 and $page = 1">2</xsl:when>
</xsl:choose>
</xsl:with-param>


I see now these error messages :



XSLTProcessor::importStylesheet(): element with-param is not allowed within
that context

XSLTProcessor::importStylesheet(): element choose only allowed within a
template, variable or param

XSLTProcessor::importStylesheet(): xsltParseStylesheetTop: unknown with-param
element

XSLTProcessor::transformToXml(): No stylesheet associated to this object



Roelof

Current Thread