Java tutorial
//package com.java2s; public class Main { public static String UnEscapeString(String xml) { String str = xml.replaceAll("&", "&"); str = str.replaceAll("\"", """); str = str.replaceAll(">", ">"); str = str.replaceAll("<", "<"); return str; } }