Subject: Re: [xsl] 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/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Correcting a prior error, Wendell Piez | Thread | Re: [xsl] Correcting a prior error, Dave Pawson |
Re: [xsl] Correcting a prior error, Michael Kay | Date | Re: [xsl] Correcting a prior error, Wendell Piez |
Month |