Perl Saxon

Posted by mjvermeulen on 2018-05-27 23:36

Hi

I am looking for a solution to use Saxon in Perl
we need to filter a lot of XML files with XSLT but the customer does not have software for that.
Want to know if it is possible with Perl!

thnx for your advice
Michael

grahams
ActiveState Staff
Mon, 2018-05-28 09:41

A quick search turns up two modules. There are dependencies on Java and the module choice seems to depend on which version of XSLT you want to use. Perl will not provide the XSLT library, so that still needs to be installed on site.
https://metacpan.org/release/XML-Saxon-XSLT3
and the older
https://metacpan.org/pod/XML::Saxon::XSLT2

I'm not finding anything that doesn't need XSLT. If you can't use XSLT, you might be better to code in Java.