It's just like any templating system. You have two files - the Perl script and the template file. The Perl script has the Perl code in it and the template file has the XML in it.
------
We are the carpenters and bricklayers of the Information Age.
Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose