Unix/Linux Go Back    

CentOS 7.0 - man page for xml::parser::style::objects (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

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


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

       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.


perl v5.16.3				    2011-05-25			Parser::Style::Objects(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 03:02 AM.