Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 46413
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T15:57:43+00:00 2026-05-10T15:57:43+00:00

I would like to know what of the many XSLT engines out there works

  • 0

I would like to know what of the many XSLT engines out there works well with Perl.

I will use Apache (2.0) and Perl, and I want to obtain PDFs and XHTMLs.

I’m new to this kind of projects so any comment or suggestion will be welcome.

Thanks.


Doing a simple search on Google I found a lot and I suppose that there are to many more.

  • http://www.mod-xslt2.com/
  • http://xml.apache.org/xalan-j/
  • http://saxon.sourceforge.net/
  • http://www.dopscripts.com/xslt_parser.html

Any comment on your experiences will be welcome.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T15:57:44+00:00Added an answer on May 10, 2026 at 3:57 pm

    First mistake – search on CPAN, not Google 🙂

    This throws up a bunch of results, but does rather highlight the problem of CPAN, that there’s more than one solution, and it’s not always clear which ones work, have been abandoned, are broken, slow or whatever.

    And disturbingly, the best answer (or at least, one of the best) comes up on page four of the results 🙁 As other folks have suggested, XML::LibXSLT is robust and does the job:

      use XML::LibXSLT;   use XML::LibXML;    my $parser = XML::LibXML->new();   my $xslt = XML::LibXSLT->new();    my $source = $parser->parse_file('foo.xml');   my $style_doc = $parser->parse_file('bar.xsl');    my $stylesheet = $xslt->parse_stylesheet($style_doc);    my $results = $stylesheet->transform($source);    print $stylesheet->output_string($results); 

    If you want to output results to a file then add this

    #create output file open(my $output_xml_file_name, '>', 'test.xml'); print $output_xml_file_name '$results'; 

    If you don’t want to do anything fancy, though, there’s XML::LibXSLT::Easy, which essentially just wraps the above in one method call (and does a bunch of clever stuff behind the scenes using Moose. Check the source for an education!).

      use XML::LibXSLT::Easy;    my $p = XML::LibXSLT::Easy->new;    my $output = $p->process( xml => 'foo.xml', xsl => 'foo.xsl' ); 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 59k
  • Answers 59k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer You can use the MSI (Windows Installer) APIs to find… May 11, 2026 at 9:02 am
  • added an answer You have to get the device context of the window… May 11, 2026 at 9:02 am
  • added an answer When you use a function recursively, the compiler takes care… May 11, 2026 at 9:02 am

Related Questions

I would like to know what semaphores, messageQueues, etc... are active in my vxWorks
I would like to know what kind of tool you use for writing your
I would like to know what's the best technique to do single sign-on in
I would like to know what would be the best way to do unit
I would like to know what of the many XSLT engines out there works
I would like to know what are your practices when you test your classes.
I would like to know what is the difference between initializing a static member
I would like to know what the pros and cons are for using an
I would like to know what would be the impact of modifying web.config file
I would like to know what a Unit test and Web Test is in

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.