1XML::Handler::Sample(3)User Contributed Perl DocumentatioXnML::Handler::Sample(3)
2
3
4

NAME

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

SYNOPSIS

9        use XML::Parser::PerlSAX;
10        use XML::Handler::Sample;
11
12        $my_handler = XML::Handler::Sample->new;
13
14        XML::Parser::PerlSAX->new->parse(Source => { SystemId => 'REC-xml-19980210.xml' },
15                                         Handler => $my_handler);
16

DESCRIPTION

18       "XML::Handler::Sample" is a trivial PerlSAX handler that prints out the
19       name of each event it receives.  The source for "XML::Handler::Sample"
20       lists all the currently known PerlSAX handler methods.
21
22       "XML::Handler::Sample" is intended for Perl module authors who wish to
23       look at example PerlSAX handler modules.  "XML::Handler::Sample" can be
24       used as a template for writing your own PerlSAX handler modules.
25       "XML::Handler::Sample" is in the Public Domain and can be used for any
26       purpose without restriction.
27

AUTHOR

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

SEE ALSO

32       perl(1), PerlSAX.pod(3)
33
34
35
36perl v5.12.0                      2003-10-21           XML::Handler::Sample(3)
Impressum