[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] template matching using namespace
Subject: Re: [xsl] template matching using namespace From: "James A. Robinson" <jim.robinson@xxxxxxxxxxxx> Date: Wed, 29 Nov 2006 07:14:46 -0800 |
> <xsl:if test="self::constraint:And"> > ... > </xsl:if> > > Don't use name() or local-name() to test the name of an element or > attribute if you statically know the name to test. So are you saying local-name() is inefficent compared to an axes based test? That one should only be using local-name in the context of a 'local-name($foo) eq local-name($bar)' style test? Jim - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - James A. Robinson jim.robinson@xxxxxxxxxxxx Stanford University HighWire Press http://highwire.stanford.edu/ +1 650 7237294 (Work) +1 650 7259335 (Fax)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] template matching using n, Florent Georges | Thread | RE: [xsl] template matching using n, Michael Kay |
SV: [xsl] Find node-set from string, Per Osnes | Date | RE: [xsl] template matching using n, Michael Kay |
Month |