http://www.perlmonks.org?node_id=1002319


in reply to XML::Twig Eating Up Data

Saddly it is impossible to run your example without FSL_XML.xlsx, so I can't be sure of what is going on exactly.

That said, it looks to me like at some point you are setting the text for the phyCqiReportingPeriodic element, which replaces all of its content. Check for this, figure out why this is happening and you should be on your way to solving the problem.