Subject: Re: Correcting a prior error
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Fri, 30 Jul 2010 16:55:05 +0100
|
On 30 July 2010 16:43, Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> wrote:
> At 05:44 AM 7/30/2010, Dave wrote:
>>
>> Or change this to count(ancestor::*|preceding::*) + 1?
>
> Or count(ancestor-or-self::*|preceding::*)
>
> Or count(.|ancestor::*|preceding::*) ... :-)
Or maybe even count((., ancestor::*, preceding::*)) which avoids the
unnecessary document-order sort that happens with |
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
|