Hi,

On Wed, Sep 12, 2012 at 8:22 AM, John C. Houser <[email protected]> wrote:
>
>         # Insert back into database
>         $marc_xml = $record->as_xml();
>

Just a note for the record: this should be $record->as_xml_record().
 as_xml()  will wrap the MARCXML record in a <collection> wrapper; while
as_xml_record() omits the <collection> wrapper.

It looks like a lot of Evergreen code doesn't much care if the MARCXML
record is wrapped, but some does, most notably TPac's check of the 901$c.
As a consequence, records that are wrapped in the <collection> element do
not display in TPac.

Regards,

Galen
-- 
Galen Charlton
Manager of Implementation
Equinox Software, Inc. / The Open Source Experts
email:  [email protected]
direct: +1 770-709-5581
cell:   +1 404-984-4366
skype:  gmcharlt
web:    http://www.esilibrary.com/
Supporting Koha and Evergreen: http://koha-community.org &
http://evergreen-ils.org

Reply via email to