title: XPath 1 query and attributes name
body: <p>First question: is there any way to get the <strong>name</strong> of a node's attributes?</p>
  
  <pre><code>&lt;node attribute1="value1" attribute2="value2" /&gt;
  </code></pre>
  
  <p>Second question: is there a way to get attributes and values as value pairs? The situation is the following:</p>
  
  <pre><code>&lt;node attribute1="10" attribute2="0" /&gt;
  </code></pre>
  
  <p>I want to get all attributes where value>0 and this way: "attribute1=10". </p>