[Koha] xml export

Galen Charlton gmc at esilibrary.com
Fri Oct 5 04:14:06 NZDT 2012


On Thu, Oct 4, 2012 at 10:56 AM, Samuel Desseaux <samuel.desseaux at ecp.fr> wrote:
> I give there an extract of my file
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <Document>
> </Document>
> </Document>

The immediate problem with the export file is that it doesn't contain
a single root node.  You could manually make it well-formed by
inserting a <Docs> as the second line (after the XML declaration) and
</Docs> as the last line.

> I don't see what i can do. Maybe rewriting a dtd or an xsl transformation?

To load this into Koha, your next step could indeed include writing an
XSL stylesheet to convert it to MARCXML.  Based on the sample, such a
stylesheet looks like it would be relatively simple to write, but
perhaps somebody else on this list might recognize the source ILS and
could point you to a pre-written stylesheet.


Galen Charlton
Director 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 &

More information about the Koha mailing list