Added more escape sequences to the escapeForXML method.