in reply to To replace the occurence string in perl
I'd suggest installing XML::Twig and reading the docs. There are examples that show how to step through a document chunk by chunk editing as you go along.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
|
|---|