Catmandu-MAB2
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
t/05-writer.t view on Meta::CPAN
foreach my $record (@mab_records) {
$writer->write($record);
}
# ToDo: Catmandu::Exporter::MAB2::commit
$writer->end();
close($fh);
my $out = do { local ( @ARGV, $/ ) = $filename; <> };
is $out, <<'MABXML';
<?xml version="1.0" encoding="UTF-8"?>
<datei xmlns="http://www.ddb.de/professionell/mabxml/mabxml-1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ddb.de/professionell/mabxml/mabxml-1.xsd http://www.d-nb.de/standardisierung/formate/mabxml-1.xsd"...
<datensatz typ="h" status="n" mabVersion="M2.0">
<feld nr="001" ind=" ">47918-4</feld>
<feld nr="310" ind=" ">Daà Ãmläüt</feld>
<feld nr="406" ind="b">
<uf code="j">1983</uf>
</feld>
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.963 second using v1.00-cache-2.02-grep-82fe00e-cpan-c9a218a2bbc )