Q
q-rious
I have the following in a single file (though if a solution to this
problem requires it, I can divide into multiple files).
<a>
<b></b>
<c>
<b></b>
</c>
</a>
<b>
<x>
<y></y>
</x>
</b>
I want this:
<a>
<x>
<y></y>
</x>
<c>
<x>
<y></y>
</x>
</c>
</a>
I would like to do this using Perl, but I am open to other methods as
well.
Thanks in advance.
problem requires it, I can divide into multiple files).
<a>
<b></b>
<c>
<b></b>
</c>
</a>
<b>
<x>
<y></y>
</x>
</b>
I want this:
<a>
<x>
<y></y>
</x>
<c>
<x>
<y></y>
</x>
</c>
</a>
I would like to do this using Perl, but I am open to other methods as
well.
Thanks in advance.