jQuery Xml parsing what is the problem here?
<p>I have this code where i's like to traverse through all <code>com.abc.db.ConfigInfo</code> row, and if any of them contains <code>cfgId</code> as <code>141</code> alert(cfgName)</p>

<p><strong>Updated</strong></p>

<pre><code>alert(xml);
                        $(xml).find('list com\\.abc\\.db\\.ConfigInfo').each(function()
                        {
                            alert("enter the dragon");
                            if($(this).find('cfgId').text()=="141")  
                            alert($(this).find('cfgName').text()); 
                        }); 
</code></pre>

<p>My XML</p>

<pre><code>&lt;list&gt;
&lt;com.abc.db.ConfigInfo&gt;
&lt;cfgId&gt;83&lt;/cfgId&gt;
&lt;cfgName&gt;test&lt;/cfgName&gt;
&lt;/com.abc.db.ConfigInfo&gt;
&lt;com.abc.db.ConfigInfo&gt;
&lt;cfgId&gt;102&lt;/cfgId&gt;
&lt;cfgName&gt;cfgname1&lt;/cfgName&gt;
&lt;/com.abc.db.ConfigInfo&gt;
    &lt;/list&gt;
</code></pre>
