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

Hi all,

I've got a personal project which would be much easier if I could use XSLt and XML files. My ISP is interested in adding a module to their hosting, but have point blank asked me which module would be best. Since I don;t think my home apache win server counts as valid Admin experience, I wanted to throw question out to you monks.

Of XML::XSLT, XML::Xalan, XML::Sablotron, and/or AxKit, what would you recommend based on the following 2 criteria.

  • Should install easily, not interfere with others, be very stable and cause the admin no headaches ;)
  • Should offer a pretty thorough feature-set of XSL standards, but it's fine if it's only covers basic XSLt implementation.

    server config = RedHat/Apache1.3.22/perl5.006

    THX!

    www.mindfulinthestorm.org

  • Replies are listed 'Best First'.
    Re: Recommend XSL module
    by mirod (Canon) on Nov 26, 2002 at 19:22 UTC

      You've missed the one I would recommend: XML::LibXSLT. You will need libxml2 (which is likely to be already installed on the server) and libXSLT. See an example of how to use it here

    Re: Recommend XSL module
    by grantm (Parson) on Nov 26, 2002 at 19:48 UTC

      I'd agree with mirod's XML::LibXSLT recommendation. If the server is linux based, the underlying libraries can be installed relatively easily via RPMs.

      Sablotron is also very good and has RPM's available. It requires expat but that's probably already installed.

      Of the modules you suggested, XML::XSLT would undoubtedly be the smallest headache for your ISP but also unfortunately the biggest headache for you :-(. Its XSLT implementation is incomplete and not actively maintained, so save yourself the pain.