Okay, here's a very short stylesheet which exhibits the same problem:
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="text"/>
<xsl:template match="*">
<xsl:value-of select="substring-after('some text',.)"/>
</xsl:template>
</xsl:stylesheet>
.robin.
PS: I'm also having some _very_ strange problems with charset
conversion, where sablotron goes into a loop spitting out
� for ever. This may be some problem with my
iconv though...