title: Parse XML ampersand in Java
body: <p>I download an XML-file, I generate using PHP, that looks similar to this</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt; 
  &lt;customersXML&gt; 
     ...
     &lt;customer id="12" name="Me+%26+My+Brother" swid="1" /&gt; 
     ...
  &lt;/customersXML&gt; 
  </code></pre>
  
  <p>Now I need to parse it in Java, but before that I use URL-Decode, so the XML become this</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt; 
  &lt;customersXML&gt; 
     ...
     &lt;customer id="12" name="Me &amp; My Brother" swid="1" /&gt; 
     ...
  &lt;/customersXML&gt; 
  </code></pre>
  
  <p>But when I parse the XML-file using SAX, I get a problem with "&amp;". How can I get around this?</p>