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: Fri, 1 Aug 2008 16:50:05 +0100
2008/8/1 Andrew Welch <andrew.j.welch@xxxxxxxxx>:
>>> Or of course you can arrange that the attribute in the source is called
>>> xml:lang and use the lang() function.
>
> Out of interest, does xml:lang annotate the input tree, or does the
> lang() function walk the ancestor axis behind the scenes?  Or is it
> all implementation dependent?


And possibly OT, why does xml:lang exist - as in, why is there a need
for an inbuilt mechanism compared to a custom solution?



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

Current Thread