Lines 43-49
sub new {
Link Here
|
43 |
|
43 |
|
44 |
my $format = $args{metadataPrefix}; |
44 |
my $format = $args{metadataPrefix}; |
45 |
my $record_dom; |
45 |
my $record_dom; |
46 |
if ( $format ne 'marcxml' && $format ne 'marc21' ) { |
46 |
my $xsl_file = $repository->{conf} ? |
|
|
47 |
defined $repository->{conf}->{format}->{$format}->{xsl_file} |
48 |
: undef; |
49 |
if (($format ne 'marc21' && $format ne 'marcxml') |
50 |
|| $xsl_file |
51 |
) { |
47 |
my $args = { |
52 |
my $args = { |
48 |
OPACBaseURL => "'" . C4::Context->preference('OPACBaseURL') . "'" |
53 |
OPACBaseURL => "'" . C4::Context->preference('OPACBaseURL') . "'" |
49 |
}; |
54 |
}; |
50 |
- |
|
|