[jdom-interest] Entity value lookup based on name?

Elliotte Rusty Harold elharo at metalab.unc.edu
Wed Feb 26 03:24:35 PST 2003


At 2:15 AM -0600 2/26/03, Jason Long wrote:
>Given a document with an external dtd, is there a way to look up the value
>based on the entity name?  At the time of processing I am comparing two text
>node values.  When read by jdom entities are expanded.  At this point I only
>know the name of the entity, but not its value.  Is there a list of entities
>stored somewhere in the jdom document that I can access by name?
>

No, there isn't.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|           Processing XML with Java (Addison-Wesley, 2002)          |
|              http://www.cafeconleche.org/books/xmljava             |
| http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA  |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+



More information about the jdom-interest mailing list