[utils] Add xpath_element and xpath_attr