[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] Selecting Median of Root to Deepest node
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
|