Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

XML::Parser::Style::Objects

Name XML::Parser::Style::Objects
Version
Located at /usr/local/lib64/perl5
File /usr/local/lib64/perl5/XML/Parser/Style/Objects.pm
Is Core No
Search CPAN for this module XML::Parser::Style::Objects
Documentation XML::Parser::Style::Objects
Module Details XML::Parser::Style::Objects

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

the XML::Parser::Style::Tree manpage

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024