NAME

Catmandu::Exporter::PNX - a Primo normalized XML (PNX) exporter

SYNOPSIS

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

# From Perl

use Catmandu;

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

$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 Primo normalized XML (PNX).

SEE ALSO

Catmandu::Exporter, Catmandu-PNX