title: XPath test to identify node type
body: <p>I don't understand why this test</p>
  
  <pre><code>count(.|../@*)=count(../@*) 
  </code></pre>
  
  <p>( from <a href="http://www.dpawson.co.uk/xsl/sect2/nodetest.html#d7653e255" rel="noreferrer">Dave Pawson's Home page</a> )</p>
  
  <p>identify an attribute node :(</p>
  
  <p>could someone give me a detailled explanation ?</p>