commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Digester HTML entity decoding
Date Sat, 14 Mar 2009 02:17:10 GMT

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


Mime
View raw message