How to remove element if self closing tag is found
<p>I am pulling an xml file from third party app which looks like this</p>

<pre><code>&lt;round round_id="14208" name="5th Round" start_date="2013-09-06" end_date="2013-09-10" type="cup" groups="0" has_outgroup_matches="no" last_updated="2011-04-05 14:15:02"&gt;
    --Some Data with more elements
&lt;/round&gt;

&lt;round round_id="14208" name="5th Round" start_date="2013-09-06" end_date="2013-09-10" type="cup" groups="0" has_outgroup_matches="no" last_updated="2011-04-05 14:15:02"&gt;
    --Some Data with more elements
&lt;/round&gt;
</code></pre>

<p>My problem is some time this tag comes with self closing tag like this </p>

<pre><code>&lt;round round_id="14208" name="5th Round" start_date="2013-09-06" end_date="2013-09-10" type="cup" groups="0" has_outgroup_matches="no" last_updated="2011-04-05 14:15:02"/&gt;
</code></pre>

<p>I want to check for self closing tags and remove the element.</p>

<p>Please help me out.
Thanks</p>
