title: Can I find all XML nodes with a given attribute in a QDomDocument?
body: <p>I'm using Qt 4.7.4. In my program, each QDomNode in a QDomDocument will have a unique identifier attribute. Is there a simple way to locate all nodes (in this case, only a single node) with a given attribute?</p>
  
  <p>Nothing that I have found suggests that this is possible, but I thought that I might as well ask.</p>
  
  <p>I suppose that I could place the identifier in a child node of the original node, search for the identifier node, and then take its parent, but I would prefer to keep it in an attribute.</p>