This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Grouping conditions
- From: "Gennady Loskutov" <g_loskutov at myrealbox dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 7 Feb 2002 10:40:51 +0100
- Subject: Re: [xsl] Grouping conditions
- References: <F94YFDIfWb4SaFMwr9y00000665@hotmail.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> <xsl:when test="@type='101' or @type='102' or @type='103' ...">
You may use intervals if @type contains numerical values :
<xsl:when test="@type > 100 and @type < 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