Re: [xsl] current() - referring to top in nested predicates

Subject: Re: [xsl] current() - referring to top in nested predicates
From: Michael Ludwig <mlu@xxxxxxxxxxxxx>
Date: Wed, 06 Aug 2008 14:19:07 +0200
Michael Ludwig schrieb:
  <xsl:template match="/">
    <xsl:variable name="b" select="//B"/>
    <xsl:apply-templates select="
      //T [ position() != last() ]
          [ count( $b[.  >=  current() and
                      . &lt; current()/following-sibling::T[1]]) > 0]"/>
  </xsl:template>

What does current() refer to here? To the node-set contained in $b?


Michael Ludwig

Current Thread