[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Grouping conditions

Subject: RE: Grouping conditions
From: "Ragulf Pickaxe" <jawxml@xxxxxxxxxxx>
Date: Thu, 07 Feb 2002 10:15:01 +0000
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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.