title: xpath select by attribute when attribute not present
body: <p>Short question:
  I would like to select all nodes that do not match an attribute (@type !='x') but also attribute doesn't exist (??).
  Currently, I'm getting nothing back, because the other nodes have no attribute at all.</p>
  
  <p>Background:
  I have some XML. Note that one has type="feature" but all others have no 'type' attr.</p>
  
  <pre><code>&lt;image type="feature"&gt;&lt;description&gt;X&lt;/description&gt;&lt;url&gt;media/designer_glass_tile_04.jpg&lt;/url&gt;&lt;height&gt;&lt;/height&gt;&lt;width/&gt;&lt;/image&gt;
  &lt;image&gt;&lt;description&gt;Designer Glass 05&lt;/description&gt;&lt;url&gt;media/designer_glass_tile_05.jpg&lt;/url&gt;&lt;height&gt;&lt;/height&gt;&lt;width/&gt;&lt;/image&gt;
  &lt;image&gt;&lt;description&gt;Designer Glass 06&lt;/description&gt;&lt;url&gt;media/designer_glass_tile_06.jpg&lt;/url&gt;&lt;height&gt;&lt;/height&gt;&lt;width/&gt;&lt;/image&gt;
  &lt;image&gt;&lt;description&gt;Designer Glass 07&lt;/description&gt;&lt;url&gt;media/designer_glass_tile_07.jpg&lt;/url&gt;&lt;height&gt;&lt;/height&gt;&lt;width/&gt;&lt;/image&gt;
  &lt;image&gt;&lt;description&gt;Designer Glass 08&lt;/description&gt;&lt;url&gt;media/designer_glass_tile_08.jpg&lt;/url&gt;&lt;height&gt;&lt;/height&gt;&lt;width/&gt;&lt;/image&gt;
  </code></pre>
  
  <p>And a XSL style:</p>
  
  <pre><code>        &lt;div id="gallery"&gt;
              &lt;div id="feature" &gt;
                  &lt;xsl:apply-templates select="image[@type='feature']"/&gt;
              &lt;/div&gt;
              &lt;div id="thumbs"&gt;
                  &lt;xsl:apply-templates select="image[@type!='feature']"/&gt;
              &lt;/div&gt;
          &lt;/div&gt;
  </code></pre>