[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: Fri, 01 Aug 2008 19:09:05 +0100

>>>>> "Andrew" == Andrew Welch <andrew.j.welch@xxxxxxxxx> writes:

    >>> Or of course you can arrange that the attribute in the source
    >>> is called xml:lang and use the lang() function.

    Andrew> Out of interest, does xml:lang annotate the input tree, or
    Andrew> does the lang() function walk the ancestor axis behind the
    Andrew> scenes?  Or is it all implementation dependent?

Well, it's implementation dependent, but the behaviour must be as if
it walks the ancestor axis.
-- 
Colin Adams
Preston Lancashire


Current Thread