Here you can find the source of unescapeXML(String xml)
public static String unescapeXML(String xml)
//package com.java2s; //License from project: Open Source License public class Main { public static String unescapeXML(String xml) { // TODO: this is incorrect and inefficient return xml.replace("<", "<").replace(">", ">").replace("&", "&"); }/*from ww w. ja v a2s . com*/ }