Subject: [xsl] Alternative to except operator that preserves order?|
From: TW <zupftom@xxxxxxxxxxxxxx>
Date: Tue, 10 Jan 2012 08:23:06 +0100
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, so I have to re-sort them every time. Not so much of a problem because the sequences are not very large, but I wondered, whether in general there is a better idiom for preserving the pre-sorted order in situations like this. The archive didn't make me any wiser. Thomas W.