hi,

 this is probably a very basic question, but I still haven't found a
 solution for it by browsing through the list archive.

 I have written a web application that generates some xml files with
 iso-8859-1 encoding. in an dtd file I defined a entity
 e.g. <!ENTITY trademark "&#x99;">.

 My XML file contains <headline>Test &trademark;</headline>

 When I parse the document for reading everything works fine. The
 trademark symbol is properly displayed in the form field of my
 browser form.

 But when I submit my form, the trademark symbol is replaced by an
 question mark: <headline>Test ?</headline>

 If I write 'Test &trademark;' into the form field the following is
 written into the xml file: <headline>Test &amp;trademark;</headline>

 How do I get the entity into the xml file with dom4j?

best regards,
martin



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to