I\'m trying to extract an element with a particular innertext from a parsed XML document. I know that I can select an element that has a child with a particular innertext u
Matt said it, but the full solution:
//myparent[mychild='foo']/mychild