Subject: Re: current() - referring to top in nested predicates
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Wed, 06 Aug 2008 14:22:12 +0200
|
Michael Ludwig wrote:
Michael Ludwig schrieb:
<xsl:template match="/">
<xsl:variable name="b" select="//B"/>
<xsl:apply-templates select="
//T [ position() != last() ]
[ count( $b[. >= current() and
. < current()/following-sibling::T[1]]) > 0]"/>
</xsl:template>
What does current() refer to here? To the node-set contained in $b?
To the root node (the document node), because it is inside of
xsl:template match="/".
--
Martin Honnen
http://JavaScript.FAQTs.com/
| Current Thread |
Michael Ludwig - 6 Aug 2008 12:19:34 -0000
- Martin Honnen - 6 Aug 2008 12:22:32 -0000 <=
|
|