RE: [xsl] Variable Values for Params

Subject: RE: [xsl] Variable Values for Params
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 13 Mar 2003 17:19:51 -0000
You can have an xsl:choose inside the xsl:with-param element.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> email@xxxxxxxxxxxxxxxx
> Sent: 13 March 2003 05:17
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> 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


Current Thread