HasAttribute is an Instantiator that matches XML Elements that have a certain attribute.
In contrast to ByAttributeValue, the attribute's value is not regarded.
Create a new HasAttribute Instantiator
that matches xml elements that have an
attribute with name attributeName,
bound to class cl.
For example,
var i = new HasAttribute("name");
matches
<anyNode name="anyValue"/>