Here you can find the source of unescapeFromXML(String st)
public static String unescapeFromXML(String st)
//package com.java2s; /*// www . ja v a 2 s . c o m * Copyright (c) 2008-2011 by Jan Stender, Bjoern Kolbeck, * Zuse Institute Berlin * * Licensed under the BSD License, see LICENSE file for details. * */ public class Main { public static String unescapeFromXML(String st) { st = st.replace("&", "&"); st = st.replace("'", "'"); st = st.replace("<", "<"); st = st.replace(">", ">"); st = st.replace(""", "\""); return st; } }