RE: [xsl] Grouping conditions

Subject: RE: [xsl] Grouping conditions
From: "Ragulf Pickaxe" <jawxml@xxxxxxxxxxx>
Date: Thu, 07 Feb 2002 10:15:01 +0000
Michael Kay and Jeni Tennison:

With XSLT 2.0 you can write
<xsl:when test="@type = ('101', '102', '103')">

I don't think that I have an xslt/xpath 2.0 parser. I use msxml 3.0 - does version 4.0 contain version 2.0.

Will the version be backwards compatible. I have read some of the discussions regarding 2.0 and there seem to be some functionality that will be totally changed..?

On the other hand, off course I would like to use the newer, more complete, programming language. How do I do this when I am restricted to Microsoft products that is used where I work?

Thank you all for the solutions.
I will try out Gennady's second solution as the '@type' is not in a welldefined range:


<xsl:when test="contains('101 102 103 ...',@type)">

Ragulf Pickaxe :)

_________________________________________________________________
Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com



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



Current Thread