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::Handler::Sample

Name XML::Handler::Sample
Version
Located at /usr/local/share/perl5
File /usr/local/share/perl5/XML/Handler/Sample.pm
Is Core No
Search CPAN for this module XML::Handler::Sample
Documentation XML::Handler::Sample
Module Details XML::Handler::Sample

NAME

XML::Handler::Sample - a trivial PerlSAX handler


SYNOPSIS

 use XML::Parser::PerlSAX;
 use XML::Handler::Sample;
 $my_handler = XML::Handler::Sample->new;
 XML::Parser::PerlSAX->new->parse(Source => { SystemId => 'REC-xml-19980210.xml' },
                                  Handler => $my_handler);


DESCRIPTION

XML::Handler::Sample is a trivial PerlSAX handler that prints out the name of each event it receives. The source for XML::Handler::Sample lists all the currently known PerlSAX handler methods.

XML::Handler::Sample is intended for Perl module authors who wish to look at example PerlSAX handler modules. XML::Handler::Sample can be used as a template for writing your own PerlSAX handler modules. XML::Handler::Sample is in the Public Domain and can be used for any purpose without restriction.


AUTHOR

Ken MacLeod, ken@bitsko.slc.ut.us


SEE ALSO

perl(1), PerlSAX.pod(3)

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