[jdom-interest] Entity Ref

Elliotte Rusty Harold elharo at metalab.unc.edu
Sat Feb 22 11:40:57 PST 2003

At 1:07 PM -0600 2/22/03, Jason Long wrote:

>I apologize if I am missing something.  It is just that it works fine if I
>manually add the entities to an xml file and read from the data from there.
>I just wish I could do this programmatically using JDOM.  I would appreciate
>any suggestions.

I understand *what* you're trying to do. I don't understand *why* 
you're trying to do it. What does

This is why I would like my jdom generated file to read as:
<item id="0" mill="&MAHA;"  />

do for you that

<item id="0" mill="New API Seamless Maharashtra"  />

doesn't? The latter is more robust and reliable in any case.

| 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