in reply to
Pure Perl XML Reading & Writing
CPAN is your friend. I found XML::Ximple and XML::SAX::PurePerl in 2 minutes from the search site. I've never heard of Ximple, but I have heard of XML::SAX::PurePerl and may even have used it.
Better still, look through here and search for "XML". You want modules with a "p" as the 3rd letter of the DSLIP value (those five little letters). They are pure perl, although you will also need to check that their dependencies are pure perl.
On the whole, I suspect that your simplest way of doing things is going to be XML::SAX::PurePerl. If you find the SAX interface confusing (I seem to remember that all XML was confusing to me, last time I looked, but that may say more about me than XML), then see if you can use XML::Simple. It requires XML::SAX, but I think you can make XML::SAX wrap around XML::SAX::PurePerl.