title: Creating XSL for Atom feed
body: <p>I'm creating a small custom XSL file to render an RSS feed. The contents are basic, as follows. This works flawlessly except when the source XML contains the line 'xmlns="http://www.w3.org/2005/Atom"' in the feed definition. How do I address this? I'm not familiar enough with namespaces to know how to account this case. </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
  &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" &gt;
  &lt;xsl:template match="/" &gt;
  &lt;html xsl:version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"&gt;
    &lt;body style="font-family:Arial;font-size:12pt;background-color:#EEEEEE"&gt;
    &lt;xsl:for-each select="feed/entry"&gt;
        &lt;div style="background-color:teal;color:white;padding:4px"&gt;
          &lt;span style="font-weight:bold"&gt;&lt;xsl:value-of select="title"/&gt;&lt;/span&gt; - &lt;xsl:value-of select="author"/&gt;
        &lt;/div&gt;
        &lt;div style="margin-left:20px;margin-bottom:1em;font-size:10pt"&gt;
          &lt;b&gt;&lt;xsl:value-of select="published" /&gt; &lt;/b&gt;
          &lt;xsl:value-of select="summary"  disable-output-escaping="yes" /&gt;
        &lt;/div&gt;
      &lt;/xsl:for-each&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  &lt;/xsl:template&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>