|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Variable Values for Params
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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








