Don't use HTML entities in XML

Not all HTML entities are valid (built-in) XML entities. Don't try
to use HTML entities in XML.

Instead (until the TODO of "Move away from heredocs for generating
XML" is completed), use a naive sub to replace only ampersand,
greater than, and less than.

Signed-off-by: Jeff Godin <jgodin@tadl.org>