Hi List,
I have a XML file which looks like as follows

<ISProducts>
<StoreInfo>
   <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>
.........................
.............................

Now my question is how to extract the value of id in a variable using
XML::Twig.
Since the xml file is quite large I like to print the value of id using a
loop.

Best Regards
Anirban Adhikary.

Reply via email to