Thanks very much for the reply. I see that you have given in a variable. My input xml file is huge which I cannot copy and paste in the script. Is there a way in which I could pass the input file into the code given above and then do the processing.
If you want to change this self-contained program to read xml from a filename, you need to read XML::LibXML
In reply to Re^4: HELP TO WRITE THE PERL CODE
by Anonymous Monk
in thread help to write perl code
by achs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |