Hi Jeni
Possibly it's referring to the fact that the focus can be set within a
particular variable declaration. For example, the function might
contain:
<xsl:variable name="path">
<xsl:for-each select="$context/ancestor-or-self::*">
<xsl:text>/</xsl:text>
<xsl:value-of select="local-name()" />
</xsl:for-each>
</xsl:variable>
Within the <xsl:for-each> the focus would be defined as usual and the
local-name() function can be used without an explicit argument.
Yep, I also thought of that ... but stopped when I started thinking
about wrapping large parts of the funcdef in one big for-each (with one
iteration), just to save some typing ;)
Perhaps it would be handy to have some focus-setting wrapper or
attribute for use inside function definitions ... like base-url.
Tobi
--
http://www.pinkjuice.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list