use attr names instead of xpath order for selection