xsl-list
[Top] [All Lists]

Re: [xsl] Correcting a prior error

2010-07-30 10:55:43
On 30 July 2010 16:43, Wendell Piez <wapiez(_at_)mulberrytech(_dot_)com> 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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--