xpath to get all the childrens text August 1, 2023 by Tarik This will retrieve all text elements with a parent ul element. //ul/descendant::*/text()