Changed templates to escape characters to avoid those that are in the strings but cause problems when just dropped into an XML file