1Parser::Style::Objects(U3s)er Contributed Perl DocumentatPiaornser::Style::Objects(3)
2
3
4

NAME

6       XML::Parser::Style::Objects - Objects styler parser
7

SYNOPSIS

9         use XML::Parser;
10         my $p = XML::Parser->new(Style => 'Objects', Pkg => 'MyNode');
11         my $tree = $p->parsefile('foo.xml');
12

DESCRIPTION

14       This module implements XML::Parser's Objects style parser.
15
16       This is similar to the Tree style, except that a hash object is created
17       for each element. The corresponding object will be in the class whose
18       name is created by appending "::" and the element name to the package
19       set with the Pkg option. Non-markup text will be in the ::Characters
20       class. The contents of the corresponding object will be in an anonymous
21       array that is the value of the Kids property for that object.
22

SEE ALSO

24       XML::Parser::Style::Tree
25
26
27
28perl v5.28.1                      2014-12-11         Parser::Style::Objects(3)
Impressum