Re: Converting XML to MARC without reading a file?

[email protected] (Andy Kohler) Mon, 23 Apr 2018 12:12:15 -0800
Newsgroups perl.perl4lib
Message-ID <CAGZXaBND7TbCPKRRDNHo=TVTopiYgU2mF7ues4T-S7zLW38ydA@mail.gmail.com>
--089e08e4de7d721d54056a89a738
Content-Type: text/plain; charset="UTF-8"

Thanks to all for the additional comments / suggestions.

My specific use case involves standard number searches of WorldCat.  These
generally return one record, but it's not guaranteed, which ruled out
new_from_xml().

The syntax tweak to turn a scalar variable reference into a filehandle
reference for reading has met my needs, which happily are modest enough not
to require more complex XML stream parsing.

Thanks again for your help! --Andy

--089e08e4de7d721d54056a89a738
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div>Thanks to all for the additional comments / sugg=
estions.<br><br></div>My specific use case involves standard number searche=
s of WorldCat.=C2=A0 These generally return one record, but it&#39;s not gu=
aranteed, which ruled out=20
<span class=3D"gmail-im"><span style=3D"font-family:monospace,monospace">ne=
w_from_xml()</span></span>.=C2=A0 <br><br></div><div>The syntax tweak to tu=
rn a scalar variable reference into a filehandle reference for reading has =
met my needs, which happily are modest enough not to require more complex X=
ML stream parsing.<br><br></div><div>Thanks again for your help! --Andy<br>=
</div><div><div><div><div class=3D"gmail_extra"><br><br></div></div></div><=
/div></div>

--089e08e4de7d721d54056a89a738--