title: How to loop through all XElement attributes and get their values
body: <p>How to loop through all XElement attributes and get their values?</p>
  
  <pre><code>foreach (SyndicationElementExtension extension in f.ElementExtensions)
  {
      XElement element = extension.GetObject&lt;XElement&gt;();
  
      // How to loop through all its attributes and get their values?
  }
  </code></pre>
  
  <p>Thank you!</p>