Selector in Javascript
<p>I am facing problem : In xml file there are two node with same name e.g.</p>

<p>Xml file :</p>

<pre><code>&lt;main&gt;
&lt;aaa&gt; XXXX &lt;/aaa&gt;
&lt;bbb&gt; XXXX &lt;/bbb&gt;
&lt;aaa&gt; XXXx &lt;/aaa&gt;
&lt;/main&gt;
</code></pre>

<p>On traversing whole xml file... i m using 
where l_item.node gets value 'aaa'</p>

<pre><code>var ABC = $("#xyz #"+l_item.node);
</code></pre>

<p>so, in ABC's array <strong>selector</strong> getting value '#xyz #aaa' (as same nodes are present in xml file) xml file (its creating [0] [1] arrays in ABC along with <strong>selector</strong>) and due to same values in selector I am getting wrong results while creating table.
so, what can i do to make it different (as I am not allowed to change xml file)</p>
