Due to the nature of XML files being contiguos it's hard to solve the problem of editing without rewriting everything from the edit point right down to the end of the document.
I'd suggest simply rewriting the document from scratch, and replacing the old version with the new.
If efficiency bothers you then perhaps a different module may be of use after all. It doesn't look as though XML::Mini is capable of doing this, although i haven't gone through all the source code of the modules yet.
Update:I'm sorry, i thought you ment something else... please see
PodMaster's
reply for what you really wanted.
-nuffin
zz zZ Z Z #!perl