logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

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.

Name

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

See Also

       XML::Parser::Style::Tree

perl v5.40.0                                       2024-10-20                        Parser::Style::Objects(3pm)

Synopsis

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

See Also