Character maps give you greater control over serialization. They map a Unicode character to any string in the serialized document.
For XML and HTML output methods, the resulting character stream does not have to be well-formed.
The mapping occurs only at serialization: it is not present in result tree fragments.
This facility can be used instead of “disabled output escaping” in most cases.