I am new to parsing field. I\'m trying to write a parser code but unable to get the value with respect to a particular tag that value contains ampersand(&).
You must replace your special characters with the characters that are accepted for an XML file. In your case & should be replaced by &
@Override
public void characters(char[] ch, int start, int length)
throws SAXException {
content = String.copyValueOf(ch, start, length).trim();
content = content.replace("&", "&")
}