The title says it all. I want to search for all element, say Node1, whose "Hello World!" appears in its text, or any of its decedent. If the string appears in a descendant, I still want to get Node1, and not that descendant.
<?xml version="1.0"?>
<data>
<Node1 id="Node1">Hello World! from Node1
</Node1>
<Node1 id="Node2">Nothing to see here
</Node1>
<Node1 id="Node3">
Some text goes here
<Node2>
More text
<Node3>Hellow World! from Node3 </Node3>
</Node2>
</Node1>
</data>