How to parse the XML file of the given format?
<p>I'll be happy if I can  have a sample code to parse the XML of the following format using DOM/SAX parser..</p>

<p></p>

<pre><code>&lt;MMV&gt;Sysdecs000110010101&lt;/MMV&gt;
&lt;Protocol name="SNMP"&gt;

 &lt;CS CommandString="wmanIf2BsOfdmaTTG" oid="1.3.6.1.2.1.10.184.1.1.6.2.2.1.3.1" Get_SecurityString="public" Set_SecurityString="private" type="integer"&gt;&lt;/CS&gt; 
 &lt;CS CommandString="wmanIf2BsOfdmaRTG" oid="1.3.6.1.2.1.10.184.1.1.6.2.2.1.4.1" Get_SecurityString="public" Set_SecurityString="private" type="integer"&gt;&lt;/CS&gt;
 &lt;CS CommandString="wmanIf2BsOfdmaFrameDurationCode" oid="1.3.6.1.2.1.10.184.1.1.6.2.2.1.9.1" Get_SecurityString="public" Set_SecurityString="private" type="integer"&gt;&lt;/CS&gt;
&lt;/Protocol&gt;
&lt;Protocol name="CLI"&gt;
 &lt;CS CommandString="show clock" mode="usermode" type="get" username="aaa" password="bbb"/&gt;
 &lt;CS CommandString="show version" mode="usermode" type="get" username="bbb" password="ccc"/&gt;
 &lt;CS CommandString="set username" mode="configrmode" type="set" username="cc" password="ddd"/&gt;
&lt;/Protocol&gt;
</code></pre>

<p></p>

<p>Thank u.........</p>
