Hi, I'm afraid I can't comment on the possible bug, but if this is not just an example and is an actual piece of code, you can replace:
> <xsl:for-each select="xalan:tokenize('2001-06-03T11:40:23', '-T:')"> > > <!-- Any test using position() kills the node-set!--> > <xsl:if test="position()!=last()">, </xsl:if> > <!-- without the statement above everything is fine --> > > <xsl:value-of select="."/> > </xsl:for-each> with: <xsl:value-of select="translate('2001-06-03T11:40:23','-T:','')"/> <xsl:text/>, <xsl:text/> or: <xsl:value-of select="concat( translate('2001-06-03T11:40:23','-T:',''), ', ')"/> andrew.