Debian Codegraph @

debian/control

raw
1 Source: libxml-parser-easytree-perl
2 Section: perl
3 Priority: optional
4 Maintainer: Debian Perl Group <[email protected]>
5 Uploaders: Doug Torrance <[email protected]>
6 Build-Depends: debhelper-compat (= 13)
7 Build-Depends-Indep: perl
8 Standards-Version: 4.6.0
9 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libxml-parser-easytree-perl
10 Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libxml-parser-easytree-perl.git
11 Homepage: https://metacpan.org/release/XML-Parser-EasyTree
12 Testsuite: autopkgtest-pkg-perl
13 Rules-Requires-Root: no
14
15 Package: libxml-parser-easytree-perl
16 Architecture: all
17 Depends: ${misc:Depends}, ${perl:Depends}
18 Description: easier tree style for XML::Parser
19 XML::Parser::EasyTree adds a new "built-in" style called "EasyTree" to
20 XML::Parser. Like XML::Parser's "Tree" style, setting this style causes the
21 parser to build a lightweight tree structure representing the XML document.
22 This structure is, at least in this author's opinion, easier to work with
23 than the one created by the built-in style.
24 .
25 When the parser is invoked with the EasyTree style, it returns a reference to
26 an array of tree nodes, each of which is a hash reference. All nodes have a
27 'type' key whose value is the type of the node: 'e' for element nodes, 't'
28 for text nodes, and 'p' for processing instruction nodes. All nodes also have
29 a 'content' key whose value is a reference to an array holding the element's
30 child nodes for element nodes, the string value for text nodes, and the data
31 value for processing instruction nodes. Element nodes also have an 'attrib'
32 key whose value is a reference to a hash of attribute names and values.
33 Processing instructions also have a 'target' key whose value is the PI's
34 target.