ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



Parser::Style::Objects(3)            User Contributed Perl Documentation           Parser::Style::Objects(3)



NAME
       XML::Parser::Style::Objects

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.8.8                                      2003-08-18                        Parser::Style::Objects(3)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.