Lines 198-205
sub get_transformer {
Link Here
|
198 |
my $marcflavour = uc(C4::Context->preference('marcflavour')); |
198 |
my $marcflavour = uc(C4::Context->preference('marcflavour')); |
199 |
return unless $format_to_stylesheet_map->{$marcflavour}->{$format}; |
199 |
return unless $format_to_stylesheet_map->{$marcflavour}->{$format}; |
200 |
|
200 |
|
201 |
my $xslt_file = C4::Context->config('intranetdir') . |
201 |
my $xslt_file = C4::Context->config('intrahtdocs') . |
202 |
"/koha-tmpl/intranet-tmpl/prog/en/xslt/" . |
202 |
"/prog/en/xslt/" . |
203 |
$format_to_stylesheet_map->{$marcflavour}->{$format}; |
203 |
$format_to_stylesheet_map->{$marcflavour}->{$format}; |
204 |
|
204 |
|
205 |
my $parser = XML::LibXML->new(); |
205 |
my $parser = XML::LibXML->new(); |
206 |
- |
|
|