title: PHP XML parsing with values using encoding=base64
body: <p>How does one parse XML that contains values that are encoded. In my case I have a number of values that are encoded with base64:</p>
  
  <pre><code>&lt;value encoding="base64"&gt;...&lt;/value&gt;
  </code></pre>
  
  <p>Using SimpleXML it appears to ignore the encoding. So there must be a different way...</p>