Sadly this breaks for too many case
I don't care, works for the OPs case, and you asked :)
In reply to Re^5: XMLin question (xmlfixup.pl) by Anonymous Monk in thread XMLin question by stryda42