Re: [xsl] how to do in xsl equalen of SQL not in (......)

Subject: Re: [xsl] how to do in xsl equalen of SQL not in (......)
From: Tom Schutzer-Weissmann <xsl@xxxxxxxxxxxxxxxx>
Date: Fri, 5 Sep 2003 19:11:50 +0000
Hi Andrey,

>   How can I in xsl realise when I what count
>   all value with code not in some list
[...]
>   how to do ->>> sum(x[code not in(1,2)]) ???

You will need extension functions to do this because sum() is not part of 
XPath 1.
Let's say you use EXSLT - see http://www.jenitennison.com/xslt/exslt

Now your problem is your list.

Where are you getting the list from? If it's in xml too, then it's easy. If 
it's created dynamically, things are more interesting.

Have you got some code we can look at?
			
Tom SW
--
"The facts are hideous, but we must face them" - Bertie Wooster


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


Current Thread