| Subject: Re: [xsl] Selecting Median of Root to Deepest node From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx> Date: Wed, 1 Aug 2007 11:36:36 +0100 | 
On 8/1/07, J. Zhang <j.zhang@xxxxxx> wrote:
> It seems saxon:path does not take an argument. I get an error:
>
> Cannot find a matching 1-argument function named
> {http://saxon.sf.net/}path()
Should be this way around:
ancestor::*[position()=floor(last() div 2)]/saxon:path()
cheers
andrew
-- 
http://andrewjwelch.com
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] Selecting Median of Root , David Carlisle | Thread | Re: [xsl] Selecting Median of Root , J. Zhang | 
| Re: [xsl] Selecting Median of Root , David Carlisle | Date | [xsl] Length of a literal string co, Darren Wheatley | 
| Month |