Subject: RE: Wath is the opposite of the union operator?
From: JBryant@xxxxxxxxx
Date: Thu, 22 Sep 2005 10:43:50 -0500
|
Michael Kay wrote:
The operation you are referring to is usually called "set difference". In
XPath 2.0, the operator is spelt "except". There is also a set
intersection
operator spelt "intersect". There's no equivalent to these in XSLT 1.0,
though some processors support the EXSLT set:difference() and
set:intersection() functions. You can expensively code
A except B =>
A[count(.|B) != count(B)]
A intersect B =>
A[count(.|B) = count(B)]
---------------------------------------------------------------------------------------
Hi, Mike,
If you don't mind waxing theoretical for a minute, what makes those
comparisons expensive?
I'm curious about what's going on behind the scenes (that is, in the
processor) that makes this expensive.
Thanks.
Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)
| Current Thread |
|
Michael Kay - 22 Sep 2005 11:49:59 -0000
Message not available
JBryant - 22 Sep 2005 15:37:25 -0000 <=
|
|