You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Stephan Coboos <cr...@gmx.net> on 2004/02/28 08:03:34 UTC

[Util] Entitiy-Convertor

Hello,

in our database exists text from our "old" system without entities. For 
example there is a & instead of &amp;. Is in cocoon a util avaible which 
converts all &, ä, ö, a.s.o in their xml entity? A helper class?

Thank you.

Regards

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: [Util] Entitiy-Convertor

Posted by Lionel Crine <cr...@4dconcept.fr>.
Check the mailing list, I have posted this answer.
There is a java method somewhere you can use. StringEscapeUtils.escapeXml


Lionel



At 08:03 28/02/2004 +0100, you wrote:
>Hello,
>
>in our database exists text from our "old" system without entities. For 
>example there is a & instead of &amp;. Is in cocoon a util avaible which 
>converts all &, ä, ö, a.s.o in their xml entity? A helper class?
>
>Thank you.
>
>Regards
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org

Lionel CRINE
Ingénieur Systèmes documentaires
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.58.70.70


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org