[xslt] extension functions returning node-sets
- From: "Vakoc, Mark" <Mark_Vakoc jdedwards com>
- To: xslt gnome org
- Subject: [xslt] extension functions returning node-sets
- Date: Mon, 3 Mar 2003 15:00:24 -0700
Which is the correct syntax for retrieving the second node from an extension
returning a node-set? This behavior appears to have changed in recent
versions of libx*.
Given:
<xsl:variable name="test" select="str:tokenize('bob smith')"/>
Is it
1)
<xsl:value-of select="$test[2]"/>
or
2)
<xsl:value-of select="$test/token[2]"/>
I thought it was number 2, but number 1 is the only one that works. I seem
to remeber two as working before in libx*
Thoughts?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]