Version 1.29
[ZOOM-Perl-moved-to-github.git] / lib / Net / Z3950 / ZOOM.pm
index d739357..2b17964 100644 (file)
@@ -1,12 +1,10 @@
-# $Id: ZOOM.pm,v 1.40 2008-06-09 13:53:00 mike Exp $
-
 package Net::Z3950::ZOOM; 
 
 use 5.008;
 use strict;
 use warnings;
 
-our $VERSION = '1.23';
+our $VERSION = '1.29';
 
 require XSLoader;
 XSLoader::load('Net::Z3950::ZOOM', $VERSION);
@@ -165,6 +163,9 @@ sub record_get {
                $newtype = "xml";
            }
            $val = record_get_binary($rec, $newtype);
+           $val = ("<opacRecord>\n  <bibliographicRecord>\n" . $val .
+                   "  </bibliographicRecord>\n</opacRecord>");
+
        }
        return $val;
     }