title: SimpleXML iteration only outputs first child element
body: <p>I have an XML feed that I want to loop through and display all it's child elements, but for some reason I can only output the first,</p>
  
  <p>Feed -</p>
  
  <pre><code>SimpleXMLElement Object
  (
      [title] =&gt; Lorem Ipsum
      [description] =&gt; Overall description
      [link] =&gt; http://someurl.com
      [pubDate] =&gt; Thu, 17 Jul 2014 10:49:09 +0000
      [ttl] =&gt; 123
      [item] =&gt; Array
          (
              [0] =&gt; SimpleXMLElement Object
                  (
                      [title] =&gt; Lorem Ipsum Dolor 2
                      [link] =&gt; http://someurl.com
                      [description] =&gt; SimpleXMLElement Object
                          (
                          )
  
                      [pubDate] =&gt; Thu, 17 Jul 2014 10:49:09 +0000
                      [guid] =&gt; http://www.someurl.com
                  )
  
              [1] =&gt; SimpleXMLElement Object
                  (
                      [title] =&gt; Lorem Ipsum Dolor 1
                      [link] =&gt; http://someurl.com
                      [description] =&gt; SimpleXMLElement Object
                          (
                          )
  
                      [pubDate] =&gt; Thu, 17 Jul 2014 10:24:51 +0000
                      [guid] =&gt; http://someurl.com
                  )
            ETC
    )
  )
  </code></pre>
  
  <p>PHP -</p>
  
  <pre><code>$entries = simplexml_load_file($feed);
  
  foreach ($entries as $entry) {
      echo $entry-&gt;item-&gt;description;
  }
  </code></pre>
  
  <p>Unfortunately I can't affect the structure of the feed, so I need to somehow be able to iterate down and start my loop at the item element. Ideas?</p>