|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: current() - referring to top in nested predicates
>>>> <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/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






