This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Grouping conditions
- From: Jeni Tennison <jeni at jenitennison dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 7 Feb 2002 09:42:13 +0000
- Subject: Re: [xsl] Grouping conditions
- Organization: Jeni Tennison Consulting Ltd
- References: <200202070846.g178kbc19862@mail.informatik.hu-berlin.de>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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