getAttribute is for elements, not xpath contexts