Re: xpath filtering extension function called too many times

Michael Ludwig <[email protected]> Tue, 22 Jun 2010 15:37:27 +0200
Newsgroups gmane.text.xml.xalan.java.user
Message-ID <20100622133727.GB2968@wladimir>
Adrian Herscu schrieb am 22.06.2010 um 11:33 (+0300):

> <xsl:variable name="sections" select="descendant::section" />

Unrelated to your question, but the above variable is a node-set, not a
result tree fragment (RTF), so it can (and should) be used without the
nodeset extension function.

> xalan:nodeset($sections)[utils:dummy(true())][1]

$sections[ utils:dummy(true()) ][1]

-- 
Michael Ludwig