Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I've been given the assignment of finding a way of processing xslt 2.0 stylesheets from perl. No outside software (due to contractual terms). I was wondering if there is some CPAN module I may have overlooked. Thanks!

Replies are listed 'Best First'.
Re: Perl support for xslt 2.0?
by Corion (Patriarch) on Apr 05, 2010 at 17:08 UTC

    So, what part of XSLT did your CPAN search miss?

      The part that supports 2.0. Nothing I found worked with my 2.0 script, only with 1.0
Re: Perl support for xslt 2.0?
by dHarry (Abbot) on Apr 06, 2010 at 07:52 UTC

    XSLT 2.0

    What features of 2.0 do you (think you) need? In my own experience 1.0 is often enough.

    No outside software

    If you're looking for a pure Perl implementation for XSLT 2.0 you can forget about it. Most solutions are Perl wrappers of existing tools, e.g. of LibXSLT. I think support for XSLT 1.0 is as good as it gets. If you weaken the "no outside software" a bit you could use the home edition of Saxon which is open source and supports most of the features.

    Cheers

    Harry