Re: [xsl] alternative to repeatedly walking the ancestor axis in 1.0

Subject: Re: [xsl] alternative to repeatedly walking the ancestor axis in 1.0
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Mon, 4 Aug 2008 15:53:03 +0100
> Then simply use keys as shown in my first reply to this thread.

Yes (although you're just walking the ancestor axis once per node in a
different place)

Out of interest, I wonder how in-scope-prefixes() works - does any
tree walking need to take place?  If not, you could perhaps do:

<foo xmlns:lang_cornish="...">

and then test for that:

test="in-scope-prefixes(.) = 'lang_cornish'"


-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

Current Thread