paths may contain attrs, like in CSS3 selectors ("tag[attr=val]" or even "tag[attr1][attr2]")