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

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

Subject: Re: 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
sql not in
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


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.
First Name
Last Name
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.