Julian Reschke schrieb am 21.10.2010 um 14:27 (+0200): > On 19.10.2010 23:17, Michael Ludwig wrote: > >Julian Reschke schrieb am 18.10.2010 um 16:58 (+0200):
> >>select="count($tns)"/></xsl:message> > > > >><xsl:template name="foo"> > >> <xsl:param name="t"/> > >> <xsl:param name="i"/> > >> <xsl:variable name="tns" select="exslt:node-set($t)"/> > > > >Second template, declaring its own variable. Should be one element > >node. > > Why? I would think it should be three, and XSLTC/Saxon/xsltproc > agree on that. You're right. I must have been confused. Try omitting the call to exsl:node-set() here, you shouldn't need it, because at this point, the variable already is a node-set. -- Michael Ludwig
