Hi Manfred,
As a German who has to live with Umlaute I was curious enough to look into this issue:
---file.xml----BEGIN--------
<file name="C:\ÄÖÜ.txt"/>
---file.xml----END--------
---file-html.xsl----BEGIN--------
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:template match ="file">
<a>
<xsl:attribute name ="href" >
<xsl:value-of select ="@name" disable-output-escaping="yes"/>
</xsl:attribute>
<xsl:value-of select ="@name"/>
</a>
</xsl:template>
</xsl:stylesheet>
---file-html.xsl----END--------
Running this tranformation will result in this strange output: It is right inside the link caption but gets encoded inside the attribute.
---result-html.xml----BEGIN-------
<a href="C:\%C3%84%C3%96%C3%9C.txt">C:\ÄÖÜ.txt</a>
---result-html.xml----END----------
So I googled for "xsl:attribute umlaut" and found the solution related to the output setting:
---file.xsl----BEGIN--------
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" omit-xml-declaration ="yes"/>
<xsl:template match ="file">
<a>
<xsl:attribute name ="href" >
<xsl:value-of select ="@name" disable-output-escaping="yes"/>
</xsl:attribute>
<xsl:value-of select ="@name"/>
</a>
</xsl:template>
</xsl:stylesheet>
---file.xsl----END--------
---result.xml----BEGIN--------
<a href="ÄÖÜ.txt">ÄÖÜ.txt</a>
---result.xml----END----------