title: How can I ECHO in PHP the OK attribute in this SimpleXMLElement?
body: <p>How can I <code>echo</code> in PHP the OK attribute in this SimpleXMLElement? </p>
  
  <p>I've been trying to figure this one out for hours but I can't solve it.</p>
  
  <pre><code>SimpleXMLElement Object(
      [@attributes] =&gt; Array(
          [OK] =&gt; No
      )
      [NEWS] =&gt; SimpleXMLElement Object(
          [NEWS] =&gt; Blocked
      )
  )
  </code></pre>