XML::Parser::Style::Objects - Objects styler parser
use XML::Parser;
my $p = XML::Parser->new(Style => 'Objects', Pkg => 'MyNode');
my $tree = $p->parsefile('foo.xml');
User Contributed Perl Documentation Parser::Style::Objects(3)
NAME
XML::Parser::Style::Objects - Objects styler parser
SYNOPSIS
use XML::Parser;
my $p = XML::Parser->new(Style => 'Objects', Pkg => 'MyNode');
my $tree = $p->parsefile('foo.xml');
DESCRIPTION
This module implements XML::Parser's Objects style parser.
This is similar to the Tree style, except that a hash object is created
for each element. The corresponding object will be in the class whose
name is created by appending "::" and the element name to the package
set with the Pkg option. Non-markup text will be in the ::Characters
class. The contents of the corresponding object will be in an anonymous
array that is the value of the Kids property for that object.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+---------------+-------------------------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+-------------------------------+
|Availability | library/perl-5/xml-parser-532 |
+---------------+-------------------------------+
|Stability | Volatile |
+---------------+-------------------------------+
SEE ALSO
XML::Parser::Style::Tree
NOTES
Source code for open source software components in Oracle Solaris can
be found at https://www.oracle.com/downloads/opensource/solaris-source-
code-downloads.html.
This software was built from source available at
https://github.com/oracle/solaris-userland. The original community
source was downloaded from
http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-
Parser-2.44.tar.gz.
Further information about this software can be found on the open source
community website at http://search.cpan.org/~toddr/.
perl v5.32.0 2014-12-11 Parser::Style::Objects(3)