[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: Alternative to except operator that preserves order?
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Tue, 10 Jan 2012 09:26:49 +0000
On 10/01/2012 07:23, TW wrote:
I'm processing a sorted sequence of elements, recursively eliminating
elements that have already been processed.  I'm using "except" for
this purpose, but except destroys the order and returns the remaining
elements in document order,

$X[not(. intersect $Y)]


Michael Kay
Saxonica

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member