Report question

Question: XPath to find nearest ancestor element that contains an element that has an attribute with a certain value