|
Lines 68-74
sub fetch_bib {
Link Here
|
| 68 |
my $biblionumber = shift; |
68 |
my $biblionumber = shift; |
| 69 |
my $record = GetMarcBiblio( $biblionumber, $query->url_param('items') ); |
69 |
my $record = GetMarcBiblio( $biblionumber, $query->url_param('items') ); |
| 70 |
if (defined $record) { |
70 |
if (defined $record) { |
| 71 |
print $query->header(-type => 'text/xml'); |
71 |
print $query->header(-type => 'text/xml',-charset => 'utf-8',); |
| 72 |
print $record->as_xml_record(); |
72 |
print $record->as_xml_record(); |
| 73 |
} else { |
73 |
} else { |
| 74 |
print $query->header(-type => 'text/xml', -status => '404 Not Found'); |
74 |
print $query->header(-type => 'text/xml', -status => '404 Not Found'); |
| 75 |
- |
|
|