xsl-list
[Top] [All Lists]

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

2008-08-04 07:53:31
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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>