Can XPath return only nodes that have a child of X? August 28, 2023 by Tarik Here it is, in all its glory /pets/*[bar] English: Give me all children of pets that have a child bar