xsl-list
[Top] [All Lists]

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

2008-08-01 10:50:28
2008/8/1 Andrew Welch <andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com>:
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/

--~------------------------------------------------------------------
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>
--~--