Pieter De Praetere
and 3 contributors

NAME

Catmandu::Exporter::LIDO - a LIDO exporter

SYNOPSIS

    # From the commandline
    $ catmandu convert JSON --fix myfixes to LIDO < /tmp/data.json

    # From Perl

    use Catmandu;

    # Print to STDOUT
    my $exporter = Catmandu->exporter('LIDO');

    $exporter->add_many($arrayref);
    $exporter->add_many($iterator);
    $exporter->add_many(sub { });

    $exporter->add($hashref);

    printf "exported %d objects\n" , $exporter->count;

    # Get an array ref of all records exported
    my $data = $exporter->as_arrayref;

DESCRIPTION

This is a Catmandu::Exporter for converting Perl into LIDO XML (an XML Schema for Contributing Content to Cultural Heritage Repositories).

SEE ALSO

Catmandu::Importer::LIDO, Lido::XML