You are right.

There are no problems with Saxon6.5.5


Today I exchange Saxon9 with Saxon9.2



Now I have a problem with str:split




I suppose that means to solve with an own template.




Von: Michael Kay []
Gesendet: Mittwoch, 29. September 2010 14:32
Betreff: Re: [saxon] For-each + text ?


On 29/09/2010 12:35 PM, Burkert, Michael wrote:

<xslt:for-each select="set:distinct(//namespace::*)"><xslt:text>result</xslt:text>


Which version of Saxon are you using? I don't think Saxon has supported the exslt set:distinct() function for a long time, because it was superseded by features such as distinct-values() in XSLT 2.0.

I tried your code snippet with Saxon 6.5.5, and it gave me the correct result.

So I think you need to provide more information: what version of Saxon are you running, what is your source document, and what is your stylesheet?

Michael Kay