manpagez: man pages & more
man XML::Parser::Style::Objects(3)
Home | html | info | man
Parser::Style::Objects(3)                    User Contributed Perl Documentation





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.


SEE ALSO

       XML::Parser::Style::Tree



perl v5.34.0                       2019-09-24          Parser::Style::Objects(3)

xml-parser 2.460.0 - Generated Sat Aug 20 08:57:59 CDT 2022
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.