| This utility provides a simple way of escaping the special or
reserved characters in XML that serve as delimiters so that
a string of characters can be left untouched by an XML parser.
See http://www.w3.org/TR/2000/REC-xml-20001006#syntax
and http://www.w3.org/TR/2000/REC-xml-20001006#sec-predefined-ent
and http://www.w3.org/TR/2000/REC-xml-20001006#sec-entexpand
Most of the code was borrowed from Xerces serializer classes.
If anyone finds a useable method in a standard XML API
that escapes XML strings, we should use it in place of this class.
author: Ken Weiner, kweiner@unicon.net version: $Revision: 34797 $ |