This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: A really easy (hopefully) question --the current() function--
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] A really easy (hopefully) question --the current() function--
- From: Evan Lenz <elenz at xyzfind dot com>
- Date: Sun, 11 Feb 2001 00:27:04 -0800 (PST)
- Reply-To: xsl-list at lists dot mulberrytech dot com
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