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:39:18 +0100 |
>> which leaves walking the ancestor axis most of the time > > yes ancestor-or-self::*[@dir][1]/@dir which probably isn't too expensive > if the xml tree isn't too deep. > > Or of course you can arrange that the attribute in the source is called > xml:lang and use the lang() function. ahh great - thanks David. -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] alternative to repeatedly, David Carlisle | Thread | Re: [xsl] alternative to repeatedly, Andrew Welch |
Re: [xsl] alternative to repeatedly, David Carlisle | Date | Re: [xsl] alternative to repeatedly, Andrew Welch |
Month |