Skip to content
Snippets Groups Projects
Commit 2d6505a3 authored by Jens Steidl's avatar Jens Steidl :baby_chick:
Browse files

- create xsl directory

parent 2e17eb01
No related branches found
No related tags found
No related merge requests found
......@@ -179,6 +179,14 @@ PATCH2
sub get_mods_from ($$) { # $mods = ($url, $ppn)
my $url = shift;
my $ppn = shift; # example: "457035137" for "Der Fichtelberg"
# check xsl directory
my $xsl_dir = dirname(__FILE__) . '/../xsl/';
if (! -d $xsl_dir) {
say "Rebuilding XSL directory '$xsl_dir'";
mkpath($xsl_dir) || confess ("could not mkdir '$xsl_dir', $!");;
}
#### where to find XSLT
# my $marc_dc_url = 'http://www.loc.gov/standards/marcxml/xslt/MARC21slim2RDFDC.xsl';
my $marc_mods_url = 'http://www.loc.gov/standards/mods/v3/MARC21slim2MODS3-6.xsl';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment