Source: libxml-struct-perl
Section: perl
Priority: optional
Build-Depends:
 debhelper,
 libmodule-build-tiny-perl,
 libmoo-perl <!nocheck>,
 libtest-warn-perl <!nocheck>,
 libxml-libxml-perl <!nocheck>,
 perl,
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders:
 Jonas Smedegaard <dr@jones.dk>,
Standards-Version: 4.3.0
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libxml-struct-perl.git
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libxml-struct-perl
Homepage: https://github.com/nichtich/XML-Struct
Testsuite: autopkgtest-pkg-perl
Rules-Requires-Root: no

Package: libxml-struct-perl
Architecture: all
Depends:
 libmoo-perl,
 libxml-libxml-perl,
 ${misc:Depends},
 ${perl:Depends},
Enhances:
 libcatmandu-perl,
Description: represent XML as data structure preserving element order
 XML::Struct implements a mapping between XML and Perl data structures.
 By default, the mapping preserves element order,
 so it also suits for "document-oriented" XML.
 In short, an XML element is represented
 as array reference with three parts:
 .
   [ $name => \%attributes, \@children ]
 .
 This data structure corresponds to the abstract data model
 of MicroXML <http://www.w3.org/community/microxml/>,
 a simplified subset of XML.
 .
 If your XML documents don't contain relevant attributes,
 you can also choose to map to this format:
 .
   [ $name => \@children ]
 .
 Both parsing (with XML::Struct::Reader or function readXML)
 and serializing (with XML::Struct::Writer or function writeXML)
 are fully based on XML::LibXML,
 so performance is better than XML::Simple
 and similar to XML::LibXML::Simple.
