"Chung Leong" <ch***********@hotmail.com> wrote in
news:Yt********************@comcast.com:
How come there isn't a xmlspecialchars(), and for that matter,
xml_entity_decode()? I would think someone would have thought of that by
now.
Probably because the only reserved characters (and the only ones with
predefined entities) in XML are the ones handled by htmlspecialchars().
Remember that unless a DTD defines further entities, the only character
entity names available in XML are &, <, >, ", and '.