/** * Static method that parses an XML Stream. * @param is the XML input that needs to be parsed * @return a String obtained by removing all tags from the XML */ public static String Parse(Stream isp) { XmlToTxt handler = new XmlToTxt(); SimpleXMLParser.Parse(handler, null, new StreamReader(isp), true); return(handler.ToString()); }
/** * Static method that parses an XML Stream. * @param is the XML input that needs to be parsed * @return a String obtained by removing all tags from the XML */ public static String Parse(Stream isp) { XmlToTxt handler = new XmlToTxt(); SimpleXMLParser.Parse(handler, null, new StreamReader(isp), true); return handler.ToString(); }