Hello,
I am relatively new at perl, but I am trying to write a piece of code that will take an outputted .xml file from a previous program which contains several directories. I want the program to scan for the line that contains <Worksheet> which is where I want it to start reading and recording the information from the first directory, stop on </Workbook> of directory1 .xml file. Then scan the next directory ( directory 2 lets call it) for its first line that contains <Worksheet> and then read and record into the new output file until it reaches the line that contains</Workbook> on that directory, and keep looping and doing this for several directories. And then taking all this and making it into one output file. Can anyone help me out?
Thanks a bunch.