find text string in XML
<p><strong>How would i find the xml node that has a certain text value?</strong></p>

<p>example i want to do something like this which is not working:</p>

<pre><code>var xml = "&lt;data&gt;&lt;itemB&gt;more data&lt;/itemB&gt;&lt;itemC&gt;yes, more data&lt;/itemC&gt;&lt;itemA&gt;some data&lt;/itemA&gt;&lt;/data&gt;";

var searchString = "more data";

var foundin = $(xml + ":contains(" + searchString + ")");
</code></pre>
