[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: can a value of a parameter depends on a other valu

Subject: RE: 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
RE:  can a value of a parameter depends on a other valu
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.