Thanks so much!

I guess these nodes just happen to have exactly the same amount of whitespace, a relatively rare occurrence for my actual data set but something that happens occasionally.


On Mon, Jan 30, 2012 at 1:46 PM, Andrew Welch <> wrote:
On 30 January 2012 12:45, Andrew Welch <> wrote:
>> You may, however, compare the generated ids which are unique string values:
>> index-of( for $n in $orderd return generate-id($n), generate-id(current()) )
> That looks like it could be rewritten as
> some $x in $ordered satisfies $x is current()

....unless you really need the index


Andrew Welch

Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
saxon-help mailing list archived at


"A false conclusion, once arrived at and widely accepted is not dislodged easily, and the less it is understood, the more tenaciously it is held." - Cantor's Law of Preservation of Ignorance.