unescapeXml function
Unescape XML entities.
Implementation
String unescapeXml(String text) {
return text
.replaceAll('&', '&')
.replaceAll('<', '<')
.replaceAll('>', '>')
.replaceAll('"', '"')
.replaceAll(''', "'");
}