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

xmlns:str="http://exslt.org/strings"

 

 

I suppose that means to solve with an own template.

 

 

 


Von: Michael Kay [mailto:mike@saxonica.com]
Gesendet: Mittwoch, 29. September 2010 14:32
An: saxon-help@lists.sourceforge.net
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>

</xslt:for-each>

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
Saxonica