title: Android XML SAXParser handling ampersand from URL?
body: <p>I am parsing XML from URL using SAXParser. The XML has some data with ampersand (&amp;) sign. XML data is not read after the ampersand. How would I resolve this issue?</p>
  
  <pre><code>URL website = new URL(FullURL); 
  SAXParserFactory spf = SAXParserFactory.newInstance();
  SAXParser sp = spf.newSAXParser();
  XMLReader xr = sp.getXMLReader();
  HandlingXMLStuff doingwork = new HandlingXMLStuff();
  xr.setContentHandler(doingwork);
  xr.parse(new InputSource(website.openStream()));    
  String information = doingwork.getInformation();
  </code></pre>
  
  <p>XML tag has data like</p>
  
  <pre><code>&lt;choice&gt;Cat &amp;amp; Dog&lt;/choice&gt;
  </code></pre>
  
  <p>I am getting output as</p>
  
  <pre><code>Cat
  </code></pre>