xsl-list
[Top] [All Lists]

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

2011-11-30 04:22:42



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                                    
--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>