I'm sorry i mixed the xml and the xsl stylesheet a bit
up in the example...
this is the stylesheet that just puts the required letter
in the xml file before the xmlform action will enroll the
data from the dom.
<xsl:template match="xf:itemset">
<xf:itemset>
<xsl:attribute name="nodeset">/users/user[@letter='<xsl:value-of
select="$Letter" />']
</xsl:attribute>
</xf:itemset>
</xsl:template>
so maybe this is not an xslt problem, but an xpath problem, because
the utf-8 letter is included correctly even after url encoding and
back.
best regards
Lars
> -----Urspr�ngliche Nachricht-----
> Von: Joerg Heinicke [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 7. Januar 2003 17:23
> An: [EMAIL PROTECTED]
> Betreff: Re: xslt processor and utf-8
>
>
> 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: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
---------------------------------------------------------------------
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]>