Karl Billeter
unread,Apr 22, 2018, 8:45:03 PM4/22/18You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to perl...@perl.org
On Thu, Apr 19, 2018 at 12:25:05AM +0000, Andy Kohler wrote:
> Problem: Converting from MARCXML via MARC::File::XML seems to require
> reading the records from a file. I've already got the XML stored in a
> variable, retrieved via LWP::Simple->get().
>
> Do I have to write the XML to a file, then read it in again to convert it?
> Or am I just missing something obvious?
Looking at the module documentation new_from_xml() should work but only for a
single record chunk. I'd probably use that and something like XML::Twig to
split the records.
K