in reply to Perl and XML

The cpan "XML::Parser" can be used for xml parsing stuff. "XML::Writer" can be used for creating simple xml file. "XML::XSLT" can be helpful for you to create xml-xslt.