xsl-list
[Top] [All Lists]

Re: Choose variable

2003-07-01 03:21:18

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



<Prev in Thread] Current Thread [Next in Thread>