|
Subject: [xsl] [ Answered :) ] Assigning value to variable based on xsl:choose test From: "David Murphy" <david@xxxxxxxxxxxxxx> Date: Mon, 24 Jul 2006 11:18:19 +0100 |
Thanks to Abel, Michael and David.
<xsl:variable name="numTickets">
<xsl:choose>
<xsl:when test="price_type = 56">8</xsl:when>
<xsl:when test="price_type = 57">4</xsl:when>
<xsl:otherwise>9</xsl:otherwise>
</xsl:choose>
</xsl:variable>
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Saxon bug in short-circui, Michael(tm) Smith | Thread | [xsl] building a hierarchical class, Georg Hohmann |
| [xsl] Saxon bug in short-circuiting, Michael(tm) Smith | Date | RE: [xsl] Saxon bug in short-circui, Michael Kay |
| Month |