<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(_dot_)robinson(_at_)stanford(_dot_)edu
Stanford University HighWire Press http://highwire.stanford.edu/
+1 650 7237294 (Work) +1 650 7259335 (Fax)
--~------------------------------------------------------------------
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>
--~--