cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Brogden" <wbrog...@bga.com>
Subject RE: correct use of umlauts
Date Sat, 16 Nov 2002 19:29:48 GMT
> -----Original Message-----
> From: Robert Sösemann [mailto:robert.soesemann@gmx.de] 
> Sent: Saturday, November 16, 2002 10:01 AM
> To: cocoon-users@xml.apache.org
> Subject: correct use of umlauts
> 
> 
> Hello, who can help,
> 
> 
> I have the following code fragment in my xsp page, but I 
> always get an error
> because of the use of german umlaut entities like &Ouml;.
> 
>                           <xsp:logic>
>                                 String keyword = <esql:get-string
> column="k.word"/>;
>                                 String firstletter = 
> keyword.substring(0,6);
>                                 String sortable = keyword;
> 
> 
>                                 if(     firstletter == "&Ouml;" ||
> firstletter == "&ouml;"

Probably you want  firstletter.equals( "&Ouml;" ) NOT ==


wbrogden@bga.com
Author of Soap Programming with Java - Sybex; ISBN: 0782129285
Coauthor of Cocoon 2 Programming - Sybex; ISBN: 0782141315




---------------------------------------------------------------------
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