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

hi, Can i get XSL Transformation using any of the Perl module? Currently, for XML transformation i am using Xalan application from apache.org. Thanks - Sampath

Replies are listed 'Best First'.
Re: XSL Transformation using perl
by borisz (Canon) on Apr 02, 2004 at 10:23 UTC
Re: XSL Transformation using perl
by Tomte (Priest) on Apr 02, 2004 at 09:30 UTC

    Sure you can, have a look at CPANs offerings.

    regards,
    tomte


    Hlade's Law:

    If you have a difficult task, give it to a lazy person --
    they will find an easier way to do it.

Re: XSL Transformation using perl
by bronto (Priest) on Apr 02, 2004 at 12:13 UTC

    Not XSL, but you can also take a look at XML::XPathScript for a full-Perl approach to XML transformations

    Ciao!
    --bronto


    The very nature of Perl to be like natural language--inconsistant and full of dwim and special cases--makes it impossible to know it all without simply memorizing the documentation (which is not complete or totally correct anyway).
    --John M. Dlugosz
Re: XSL Transformation using perl
by artist (Parson) on Apr 02, 2004 at 15:54 UTC
      I have found XML::XSLT useful.

      Sure, but it's a trade-off. The convenience of a pure-Perl solution (no compiling, no library dependencies) versus an incomplete XSLT implementation. If XML::LibXSLT or XML::Sablotron can be installed with minimal pain then that's likely to be a less frustrating route.