Subject: Re: [xsl] current() - referring to top in nested predicates From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx> Date: Wed, 6 Aug 2008 14:02:33 +0100 |
>>>> <xsl:apply-templates select=" >>>> //T [ position() != last() ] >>>> [ count( $b[. >= current() and >>>> . < current()/following-sibling::T[1]]) > 0]"/> You don't need to use count() > 0 to check for existence... just do: //T [ position() != last() ] [$b[. >= current() and . < current()/following-sibling::T[1]]] -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] current() - referring to , Michael Ludwig | Thread | Re: [xsl] current() - referring to , Michael Ludwig |
Re: [xsl] current() - referring to , Michael Ludwig | Date | Re: [xsl] current() - referring to , Michael Ludwig |
Month |