Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Converting HTML special entities to XML

by iburrell (Chaplain)
on Sep 01, 2004 at 22:32 UTC ( [id://387732] : note . print w/replies, xml ) Need Help??


in reply to Converting HTML special entities to XML

Look at the entity declarations in the XHTML or HTML specs. Those are what real SGML/XML processors use to translate the entities into character references.

http://www.w3.org/TR/xhtml1/#h-A2 has links to the DTD files for XHTML1.