[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: 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
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member