Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Matts (1087)

  (email not shown publicly)

I work for MessageLabs [] in Toronto, ON, Canada. I write spam filters, MTA software, high performance network software, string matching algorithms, and other cool stuff mostly in Perl and C.

Journal of Matts (1087)

Thursday July 27, 2006
06:54 PM


[ #30451 ]

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;
    my $s1 = "/path/to/xslt1.xsl";
    my $s2 = "/path/to/xslt2.xsl";
    my $out = $proc->transform(
        XSP => XSLT($s1) => XSLT($s2)
    return OK, $out;

(This is slightly updated from my axkit-users post - it does wonders posting to the list to realise how you could simplify things!)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.