cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: xslt processor and utf-8
Date Tue, 07 Jan 2003 09:22:57 GMT
Hello Lars,

Kirchhoff, Lars wrote:
> Hello,
> 
> I have some problems with the xsl transformation in 
> combination with utf-8 characters and am wondering if
> somebody could explain me this. 
> 
> I used this code to select specific items depending on 
> there letter, which means the letter they start with. 
> 
>  <xsl:param name="Letter"/>
>  <xf:itemset nodeset="/users/user[@letter='<xsl:value-of select="$Letter"
> />']">
>  </xf:itemset>

I wonder, how this can work. It's not well-formed XML, so it must not 
work for ISO-8859-1 too.

What about <xf:itemset nodeset="/users/user[@letter=$Letter]">?

Regards,

Joerg

> The param Letter is extracted from the uri. It all 
> works fine if i just take normal iso8859-1 encoding or
> characters. 
> But now I'm using unicode characters as well and it's
> not working anymore. 
> 
> I printed out the letter attribute in the dom node
> as well as the Letter parameter and both seem to be 
> the same. 
> 
> Is it possible that there are maybe some problems 
> with the xslt engine in combination with utf-8?
> 
> ciao Lars


---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message