title: XPath: How to select node with some attribute by index?
body: <p>I have several nodes with some particular attribute and I need to select one of them by index. For example I need to select second <code>&lt;div&gt;</code> with 'test' class - <code>//div[@class='test'][2]</code> doesn't work.</p>
  
  <p>Is there a way to select node with some attribute by index ? How to do it?</p>