Subject: Re: [xsl] Option mystery From: Kamal Bhatt <kbhatt@xxxxxxxxx> Date: Thu, 14 Dec 2006 08:13:52 +1100 |
Oleg, Is your code incomplete? Normally you wouldn't use choose/when where there is only one condition.Hi, I am trying to fix a bug in somebody else's XSLT1.0/Cocoon2.0.4 app. I encountered something in the code which I don't understand.
<xsl:choose> <xsl:when test="$tier/option[option-num=$cur-option-num and @rate-increase='true']"> <option rate-increase="{@rate-increase}"> <debug1>branch1</debug1> ...other elements </option> </xsl:when> </xsl:choose>
<xsl:variable name="tier"> <xsl:copy-of select="<some path"/> </xsl:variable>
-- Kamal Bhatt
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Option mystery, CyberSpace Industrie | Thread | RE: [xsl] Option mystery, Michael Kay |
RE: RE: [xsl] Problem with Xpath, cknell | Date | [xsl] Table border issue, Chaudhary, Harsh |
Month |