[EMAIL PROTECTED] wrote:

i have a XML-File with the element <content> f&uuml;hren  </content>
i use the html-name "&uuml" for the german  letter "ü",
but while i parse the file i receive a DocumentException: the reference to
a not define entity &uuml".

But I have to use the html-name "&uuml" and not the Unicode "&#252; ". Can
anybody help me how to make dom4j  process html-name "&uuml"
you could add a dummy DTD containing an entity declaration for those umlauts:

<?xml version="1.0" encoding="iso-8859-1" ?>

<!DOCTYPE foo [

  <!ENTITY uuml "&#252;">
  ...

]>

<content>d&uuml;deld&uuml;</content>


hth,
Markus



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to