I wrote a post to axkit-users talking about AxKit2 (see my previous entry on the httpd). Here's how setting up a transformation is looking:
sub hook_response { my $self = shift; my $input = shift;(This is slightly updated from my axkit-users post - it does wonders posting to the list to realise how you could simplify things!)
my $s1 = "/path/to/xslt1.xsl"; my $s2 = "/path/to/xslt2.xsl";
my $out = $proc->transform( XSP => XSLT($s1) => XSLT($s2) );
return OK, $out; }