From 7a1f13583f2b5074d40f22ade39111c1a496bd1a Mon Sep 17 00:00:00 2001 From: Ian Young Date: Thu, 22 Mar 2018 13:55:46 +0000 Subject: [PATCH] Use xsltproc instead of Xalan See ukf/ukf-meta#159. --- charting/scopes.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/charting/scopes.pl b/charting/scopes.pl index 3927471b..8a8c6692 100755 --- a/charting/scopes.pl +++ b/charting/scopes.pl @@ -6,8 +6,7 @@ # Extracts statistics about number of scopes from the published metadata. # use warnings; -use lib "../build"; -use Xalan; +use lib "."; use Months; # Parse command line arguments @@ -31,7 +30,7 @@ foreach $month (@months) { my $fn = "cache/$month.xml"; my %scopes; - open(TXT, xalanCall . " -IN $fn -XSL scopes.xsl|") || die "could not open input file"; + open(TXT, "xsltproc scopes.xsl $fn|") || die "could not open input file"; while () { chop; my $scope = $_;