code: public static String unescapeToXML(final String input) {
  		if (Util.empty(input)) {
  			return input;
  		}
  		// Check if input has encoded brackets
  		String encoded = WebUtilities.doubleEncodeBrackets(input);
  		String unescaped = UNESCAPE_HTML_TO_XML.translate(encoded);
  		String decoded = WebUtilities.doubleDecodeBrackets(unescaped);
  		return decoded;
  	}
docs: Unescape HTML entities to safe XML.
  
  <p>
  Example</p>
  <pre>
  {@code StringEscapeHTMLToXMLUtil.unescapeToXML("&bull;&Dagger}"); // returns "•‡"}
  {@code StringEscapeHTMLToXMLUtil.unescapeToXML("&lt;p&gt;"); // returns "&lt;p&gt;" not "<p>"}
  </pre>
  
  @param input The String to unescape.
  @return the input with all HTML4 character entities unescaped except those which are also XML entities.