title: why can't simplexml read my xml file?
body: <p>I'm trying to read xml file in zend FW2 but xml reader doesn't read attributes and values together from the tags so I'm trying to use simplexml to read my xml file(this is the first time I write xml file) xml file is:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xs:mapping xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xmlns:ns2="http://xml.apache.org/xml-soap" xmlns:IM-ENC="http://schemas.xmlsoap.org/soap/encoding/"&gt;
      &lt;xs:serverSide xsi:type="IM-ENC:Array"&gt;&lt;/xs:serverSide&gt;
      &lt;xs:clientSide xsi:type="IM-ENC:Array"&gt;
          &lt;item xsi:type="ns2:Map"&gt;
              &lt;item&gt;
                  &lt;key xsi:type="xs:string"&gt;key1&lt;/key&gt;
                  &lt;value xsi:type="xs:string"&gt;value1&lt;/value&gt;
              &lt;/item&gt;
              &lt;item&gt;
                  &lt;key xsi:type="xs:string"&gt;key2&lt;/key&gt;
                  &lt;value xsi:type="xs:string"&gt;value2&lt;/value&gt;
              &lt;/item&gt;
          &lt;/item&gt;
      &lt;/xs:clientSide&gt;
  &lt;/xs:mapping&gt;
  </code></pre>
  
  <p>and reading the file this way:</p>
  
  <pre><code>&lt;?php
  $xml=simplexml_load_file(my.xml);
  print_r($xml);
  </code></pre>
  
  <p>but the result is empty simpleXMLElement object, I can't figure out the mistake in my xml
  can you help me, thanx in advance.
  <strong>NOTE:</strong>
  I'm using this file for local use not soap, but couldn't find another example to use array, maybe this changes a thing.</p>