Binary package “libxml-smart-perl” in ubuntu xenial

Perl module for access to parsed XML trees

 With the XML::Smart module, nodes in an XML tree made with XML::LibXML can
 be accessed equally conveniently with the Perl syntax for hashes and arrays.
 It also provides convenience features such as searching for nodes by
 attribute, selection of an attribute value in each of multiple nodes,
 change the format of returned data, and so forth.
 .
 The module also professes to automatically handle binary data
 (encoding/decoding to/from base64), CDATA sections (used for text
 content with unbalanced <tags> and so forth), and Unicode. It can be
 used to create XML files and load XML from the Web (just pasting an URL
 as a file path). It also provides an easy way to send XML data through
 sockets, adding the length of the data in the <?xml?> header.