[jdom-interest] Simple xhtml/entity resolver?

Oliver Ruebenacker curoli at gmail.com
Thu Mar 29 06:23:36 PDT 2012


  I need a simple way to convert some XHTML fragments, provided as a
JDOM Element, into plain text. I am willing to ignore most HTML tags
and consider only the most commonly used predefined entities.

  In JDOM, an entity reference has a name, a public id and a system
id. I think I know what the named means, for named entities. But what
about numeric entities, how do I get the code point? And what are
public id and system id?


     Take care

Oliver Ruebenacker, Computational Cell Biologist
Virtual Cell (http://vcell.org)
SBPAX: Turning Bio Knowledge into Math Models (http://www.sbpax.org)

More information about the jdom-interest mailing list