xsl-list
[Top] [All Lists]

RE: Variable Values for Params

2003-03-13 10:19:51
You can have an xsl:choose inside the xsl:with-param element.

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 

-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com 
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
email(_at_)magusdesigns(_dot_)com
Sent: 13 March 2003 05:17
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Variable Values for Params


Hello-

I am applying templates with a parameter. This parameter 
should have a different 
value depending on what part of my xsl:choose statement is 
applied. In the xsl:when, I 
want $count = 0, but in the xsl:otherwise, i want $count = 1. 
How can I pull this off 
considering variables cannot be redefined, and I can't have 
an xsl:choose inside an 
xsl:apply-templates tag?

Thanks-
Mac

--------------------------------------------------------------------
mail2web - Check your email from the web at http://mail2web.com/ .



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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