in reply to xml to xml with script process
Sounds like a job for XML::Rules. There's quite a few examples either here or included with the module.
Jenda Enoch was right! Enjoy the last years of Rome.