Hi I have an XML file which I want to remove first line of it using Perl and replace it with only one word. Would you please let me know how one could manage it?
Fro example, let' we have an XML file which includes some lines as:
<SquishReport version="2.1" xmlns="http://www.froglogic.com/XML2">
<test name="test">
.
.
.
which after removing and adding the desired line I would have:
<SquishReport>
<test name="test">
.
.