how to use attributes in xpath