//div[@a=.*] means this matches any node that has attribute a, //div[@a=1@b=2] means it must match both of the describers.