title: Selecting all attributes except some via XPath
body: <p>I would like to select all attribute nodes other than <code>id</code> and <code>class</code> attributes. What am I doing wrong here?</p>
  
  <pre><code>/x:html/x:body/x:*/@*[(local-name() != 'id') and (local-name() != 'class')]
  </code></pre>