in reply to Using XML::XPath to change values

The two best tools for XML work in Perl are "LibXML2" and "Twig." (To me, "Simple" is too simple.) If you are manipulating the structure and especially when the file is very, very big, "Twig" is often best because its memory-footprint is much lower.