RE: how to do in xsl equalen of SQL not in (......)2003-09-05 11:41:22hi 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[(_at_)code=1 or @code=2]) Michael Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
|