Skip to content

Commit

Permalink
Use xsltproc instead of Xalan
Browse files Browse the repository at this point in the history
See ukf/ukf-meta#159.
  • Loading branch information
iay committed Mar 22, 2018
1 parent 8a297d7 commit 7a1f135
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions charting/scopes.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 (<TXT>) {
chop;
my $scope = $_;
Expand Down

0 comments on commit 7a1f135

Please sign in to comment.