Escaping in entities

Thorsten Kitz thoki at csi.com
Mon Nov 10 15:18:32 GMT 1997


Hello,

I have another question concerning Entities. My problem is, that I like
to generate a HTML-file out of a XML-document with German "Umlaute".
Normally, an "ü" (ue) in HTML is written as ü. I tried the following
Entitiy-declaration in my DTD,

<!ENTITY ü '&amp;uuml;'>

The result was just "&amp;uuml;". Then I tried

<!ENTITY ü '&uuml;'> and
<!ENTITY ü '&#38;uuml;'>

Both resulted in a Jade-error, arguing, that no entity "uuml" is defined.

How do I define an entitiy, that the correct HTML code is used?

Thanks,

Thorsten.




xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list