Subject: RE: A really easy (hopefully) question --the current() function--
From: Evan Lenz <elenz@xxxxxxxxxxx>
Date: Sun, 11 Feb 2001 00:27:04 -0800 (PST)
|
On Sun, 11 Feb 2001, Eric Vermetten wrote:
<huge-snip/>
In the examples you use, I don't see any difference between using
"current()" and ".", both of which would select the current node, in these
contexts.
> <xsl:if test="$index < string-length(current()) + 1">
> <xsl:value-of select="substring(current(), $index, 1)" />
But Jeni's notes about where current() is actually needed are helpful,
thanks.
Evan Lenz
XYZFind Corp.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|