Hello Thorsten, there was a bug in Xalan with URL encoding more than a half year ago, but I don't know what's the current status.
> <xsl:template match='c[@color="blue"]'> > <xsl:element name="a"> > <xsl:attribute name="href"> > frameset.xsp?filename=<xsl:value-of > select="@sourcefile"/>&searchstring=<xsl:value-of > disable-output-escaping="yes" select="."/> > </xsl:attribute> > <xsl:value-of select="."/> > </xsl:element> > </xsl:template> > <xsl:stylesheet> You can remove disable-output-escaping, because it has no effect in Cocoon and should not been used generally, because it's an optional function in XSLT. Furthermore you can rewrite your code as <a href="frameset.xsp?filename={@sourcefile}&searchstring={.}"> <xsl:value-of select="."/> </a> It's maybe more readable. > ================================================================ > output: > <a href="frameset.xsp?filename=foo.xml&searchstring=Integrations%C3%A4mter"> > Integrationsämter > </a> . > ================================================================ It looks not really bad to me. I don't know exactly to which %XX the a umlaut should be transformed correctly and whether to one %XX or two, but it looks not wrong. > ================================================================ > desired output: > <a href="frameset.xsp?filename=foo.xml&searchstring=Integrationsämter"> > Integrationsämter > </a> . > ================================================================ This is definitely not correct. You can't use a entity in URL. > - using the "disable-output-escaping" attribute in the <xsl: value-of ...> > element -> no success deactivated in Cocoon > -setting the encoding in the <xsl:output ...> element -> no success deactivated in Cocoon, you do this in the sitemap as you did it correctly > -setting the encoding in the sitemap <map:transformer ...> -> no success Definitely not at <map:transformer>, but <map:serializer>. What I don't know is, whether it works at the pipe or only at <map:serializer> in <map:components> > -spelling the string 'iso-8859-1' in uppercase and lowerscase letters makes no difference, at least with Xalan. > Is there any possibility generating the desired output using the current > version of cocoon? > > Thanks in advance, > Thorsten Regards, Joerg -- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 [EMAIL PROTECTED] www.virbus.de --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>