Thanks for your inputs. However problem in my case is my production environment has just XML::Parser . I am not allowed to download XML::Twig or any other module. So options are either to directly manipulate or use XML::Parser. I have not done XML parsing anytime earlier . Would appreciate your inputs. Thanks.
Comment on Re^2: Changing XML Tag value in Perl Script
Well, you could spend the time to recreate the parts of XML::Twig that you need for this project, or you could convince "management" that there is a significant gain to be made by making an exception to the "can't use external modules" rule in this case, or see Yes, even you can use CPAN.