Re: [xsl] Grouping conditions

Subject: Re: [xsl] Grouping conditions
From: "Gennady Loskutov" <g_loskutov@xxxxxxxxxxxxx>
Date: Thu, 7 Feb 2002 10:40:51 +0100
>   <xsl:when test="@type='101' or @type='102' or @type='103' ...">

You may use intervals if @type contains numerical values :
<xsl:when test="@type &gt; 100 and @type &lt; 104">

You may use string functions otherwise:
<xsl:when test="starts-with(@type,'10')"> or 
<xsl:when test="contains('101 102 103 ...',@type)">
to name a few...

Regards,
Gennady


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


Current Thread