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 8db4b4d commit 8a297d7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions utilities/addresses.pl
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/usr/bin/perl

use lib "../build";
use Xalan;

#
# Load extra addresses.
#
Expand All @@ -24,7 +21,7 @@
#
# UK addresses
#
open(XML, xalanCall . " -IN ../mdx/uk/collected.xml -XSL ../build/extract_addresses.xsl|") || die "could not open input file";
open(XML, "xsltproc ../build/extract_addresses.xsl ../mdx/uk/collected.xml|") || die "could not open input file";
while (<XML>) {
if (/<EmailAddress>(mailto:)?(.*)<\/EmailAddress>/) {
$metadata{$2} = 1;
Expand Down

0 comments on commit 8a297d7

Please sign in to comment.