disable Perl pro tem and start moving code into XSL