This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Grouping conditions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]