How to Install libxml-struct-perl in Ubuntu 18.04



Install libxml-struct-perl by entering the following commands in the terminal:

sudo apt update
sudo apt install libxml-struct-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 , 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.

Homepage: https://github.com/nichtich/XML-Struct

Version: 0.26-1

Section: universe/perl