hi everyone.. I'll be happy if I can have a sample code to parse the XML of the following format using DOM/SAX parser..
<MMV>Sysdecs000110010101</MMV>
<Protocol name="SNMP">
<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"></CS>
<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"></CS>
<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"></CS>
</Protocol>
<Protocol name="CLI">
<CS CommandString="show clock" mode="usermode" type="get" username="aaa" password="bbb"/>
<CS CommandString="show version" mode="usermode" type="get" username="bbb" password="ccc"/>
<CS CommandString="set username" mode="configrmode" type="set" username="cc" password="ddd"/>
</Protocol>
Thank u.........