Hi List , I have a xml file which looks like <BSC id="AMIBRB1"> <ALPHA>10</ALPHA> <AMRCSFR3MODE>1,3,4,7</AMRCSFR3MODE> <AMRCSFR3THR>12,16,21</AMRCSFR3THR> <AMRCSFR3HYST>2,3,3</AMRCSFR3HYST> <AMRCSFR4MODE>1,3,6,8</AMRCSFR4MODE> <AMRCSFR4THR>12,17,25</AMRCSFR4THR> <PAGBUNDLE>50</PAGBUNDLE> <USERDATA>AMI_BRANLY_B_1</USERDATA> </BSC> <BSC id="BAYHAB1"> <ALPHA>10</ALPHA> <AMRCSFR3MODE>1,3,4,7</AMRCSFR3MODE> <AMRCSFR3THR>12,16,21</AMRCSFR3THR> <AMRCSFR3HYST>2,3,3</AMRCSFR3HYST> <AMRCSFR4MODE>1,3,6,8</AMRCSFR4MODE> <REEST>ON</REEST> <REPFACCH>ON</REPFACCH> <BCCHNORMAL>0</BCCHNORMAL> </BSC>
I need to create a new xml file from this xml. Now I need to store the first BSC id and need to check it against the other BSC ids. If both ids are same then I need to write the the contents of between the BSC id tag in a new xml file.