Can someone please help me with the following:
I'm trying to rip some data out of an xml file and put it into new
files. I have one big file with 75 xml structures and i want to split
each one into its own file. I've been trying to use sed or awk to do
this, but I suck. So can someone help me? I realize perl is probably
better, but i've never used it.
So basically
<Begining of Structure>
<more xml>
<more xml>
<more xml>
<End of Structure>
<Beginning of Structure>
<more xml>
etc....etc...
I want to pull everything from beginning to end and in between into a
new file and the next structure into another file and so on 75 times.
Thanks in advance.