title: simplexml_load_string() loads only first attribute
body: <p>I encountered a problem with <code>simplexml_load_string()</code> returns only first attribute.
  Input is like this:</p>
  
  
  
  <pre><code>&lt;xsl:stylesheet version="1.0"
                  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
                  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xmlns:res="{REQUEST_URI}"
                  xmlns:php="http://php.net/xsl"
      &gt;
    &lt;xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" blockDefault="#all" elementFormDefault="qualified"
               version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="EN"
               xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"&gt;
      &lt;blabla&gt;
            &lt;foo&gt;uiop&lt;/foo&gt;
            &lt;bar&gt;qwerty&lt;/bar&gt;
      &lt;/blabla&gt;
    &lt;/xs:schema&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>Result:</p>
  
  <pre><code>[@attributes] =&gt; Array
                  (
                      [Version] =&gt; 1.0
                  )
  </code></pre>
  
  <p>But I need in whole document parsing.</p>