{
    "mode": "perldoc",
    "parameter": "XML::Handler::Sample",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/XML%3A%3AHandler%3A%3ASample/json",
    "generated": "2026-06-10T15:52:02Z",
    "synopsis": "use XML::Parser::PerlSAX;\nuse XML::Handler::Sample;\n$myhandler = XML::Handler::Sample->new;\nXML::Parser::PerlSAX->new->parse(Source => { SystemId => 'REC-xml-19980210.xml' },\nHandler => $myhandler);",
    "sections": {
        "NAME": {
            "content": "XML::Handler::Sample - a trivial PerlSAX handler\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use XML::Parser::PerlSAX;\nuse XML::Handler::Sample;\n\n$myhandler = XML::Handler::Sample->new;\n\nXML::Parser::PerlSAX->new->parse(Source => { SystemId => 'REC-xml-19980210.xml' },\nHandler => $myhandler);\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "\"XML::Handler::Sample\" is a trivial PerlSAX handler that prints out the name of each event it\nreceives. The source for \"XML::Handler::Sample\" lists all the currently known PerlSAX handler\nmethods.\n\n\"XML::Handler::Sample\" is intended for Perl module authors who wish to look at example PerlSAX\nhandler modules. \"XML::Handler::Sample\" can be used as a template for writing your own PerlSAX\nhandler modules. \"XML::Handler::Sample\" is in the Public Domain and can be used for any purpose\nwithout restriction.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Ken MacLeod, ken@bitsko.slc.ut.us\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "",
            "subsections": [
                {
                    "name": "perl",
                    "content": ""
                }
            ]
        }
    },
    "summary": "XML::Handler::Sample - a trivial PerlSAX handler",
    "flags": [],
    "examples": [],
    "see_also": []
}