You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Otis Gospodnetic <ot...@yahoo.com> on 2009/03/14 03:17:10 UTC

Digester HTML entity decoding

Hello,

I'm using Digester (1.8) and trying to process XML that may include HTML entities (and get Digester to decode them).

For example:
  <name><![CDATA[Gr&uuml;ber]]></name>


Currently, Digester is giving me this:  Gr&uuml;ber

If I don't use CDATA, like this:
  <name>Gr&uuml;ber</name>

Digester gives me: Grber


But what I am really after is to get this &uuml; entity decoded by Digester, so I can get: GrĂ¼ber (u with an umlaut)
How do I tell Digester to decode HTML entities?


Thanks,
Otis


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org