[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Choose variable


Subject: Re: [xsl] Choose variable
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 1 Jul 2003 11:21:18 +0100

Your description of input and desired output are somewhat lacking but
perhaps
<xsl:template match="element">
<xsl:choose>
 <xsl:when test=".=1">10</xsl:when>
 <xsl:when test=".=2">15</xsl:when>
 <xsl:when test=".=3">25</xsl:when>
...


David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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



Current Thread