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