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

Re: [xsl] Grouping conditions


Subject: Re: [xsl] Grouping conditions
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Thu, 7 Feb 2002 09:42:13 +0000

Oliver Becker wrote:
>> Is there a way doing something like:
>> <xsl:choose>
>>   <xsl:when test="@type='101'|'102'|'103'|'104'...">
>> ..
>> </xsl:choose>
>
> Apart from @type>=101 and @type<=...
>
> You might place your values as a data section into your stylesheet:

Roll on XPath 2.0, when we'll be able to do:

  @type = ('101', '102', '103', 104', ...)

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


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



Current Thread
Keywords