[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
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: "Michael Kay" <mhk@xxxxxxxxx> Date: Fri, 5 Sep 2003 19:41:22 +0100 |
> hi all. > > How can I in xsl realise when I what count > all value with code not in some list > > <x code="2">2</x> > <x code="3">2</x> > <x code="4">2</x> > <x code="5">2</x> > <x code="6">2</x> > > how to do ->>> sum(x[code not in(1,2)]) ??? In XPath 2.0: sum(x[not(@code=(1,2))]) In XPath 1.0 sum(x) - sum(x[@code=1 or @code=2]) Michael Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] how to do in xsl equalen , Wendell Piez | Thread | Re: [xsl] how to do in xsl equalen , Tom Schutzer-Weissma |
Re: [xsl] how to do in xsl equalen , Wendell Piez | Date | Re: [xsl] how to do in xsl equalen , Tom Schutzer-Weissma |
Month |