[OPEN-ILS-GENERAL] ***SPAM*** Re: SQL help needed

Galen Charlton gmc at esilibrary.com
Mon Apr 1 19:57:42 EDT 2013


Hi,


On Wed, Sep 12, 2012 at 8:22 AM, John C. Houser <houser at hslc.org> 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:  gmc at esilibrary.com
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20130401/d5d5781b/attachment.htm>


More information about the Open-ils-general mailing list