I am new to this forum and need someone assistance to get it achieve my requirement in ANT. I hope someone would be able to help me. my requirement is, I have two xml file, for example A.xml and B.xml.
I want to find a line and copy all the content after that line and should be paste in another xml file. example, in my A.xml file I have written 1000 lines. if I consider 50th line content as a key word, I should be able to identify 50th line and copy all the lines after that 50th line up to 100th line and should be able to paste in B.xml 50th line where I mentioned the line content as a key word in B.xml file. Can anyone help me to find a way to achieve this requirement.