{
    "content": [
        {
            "type": "text",
            "text": "# XML::ESISParser (perldoc)\n\n## NAME\n\nXML::ESISParser - Perl SAX parser using nsgmls\n\n## SYNOPSIS\n\nuse XML::ESISParser;\n$parser = XML::ESISParser->new( [OPTIONS] );\n$result = $parser->parse( [OPTIONS] );\n$result = $parser->parse($string);\n\n## DESCRIPTION\n\n\"XML::ESISParser\" is a Perl SAX parser using the `nsgmls' command of James Clark's SGML Parser\n(SP), a validating XML and SGML parser. This man page summarizes the specific options, handlers,\nand properties supported by \"XML::ESISParser\"; please refer to the Perl SAX standard in\n`\"SAX.pod\"' for general usage information.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **METHODS**\n- **OPTIONS**\n- **HANDLERS** (1 subsections)\n- **AUTHOR**\n- **SEE ALSO** (1 subsections)\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "XML::ESISParser",
        "section": "",
        "mode": "perldoc",
        "summary": "XML::ESISParser - Perl SAX parser using nsgmls",
        "synopsis": "use XML::ESISParser;\n$parser = XML::ESISParser->new( [OPTIONS] );\n$result = $parser->parse( [OPTIONS] );\n$result = $parser->parse($string);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 24,
                "subsections": []
            },
            {
                "name": "HANDLERS",
                "lines": 2,
                "subsections": [
                    {
                        "name": "DocumentHandler methods",
                        "lines": 114
                    }
                ]
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 1,
                "subsections": [
                    {
                        "name": "perl",
                        "lines": 4
                    }
                ]
            }
        ],
        "sections": {
            "NAME": {
                "content": "XML::ESISParser - Perl SAX parser using nsgmls\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use XML::ESISParser;\n\n$parser = XML::ESISParser->new( [OPTIONS] );\n$result = $parser->parse( [OPTIONS] );\n\n$result = $parser->parse($string);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "\"XML::ESISParser\" is a Perl SAX parser using the `nsgmls' command of James Clark's SGML Parser\n(SP), a validating XML and SGML parser. This man page summarizes the specific options, handlers,\nand properties supported by \"XML::ESISParser\"; please refer to the Perl SAX standard in\n`\"SAX.pod\"' for general usage information.\n\n\"XML::ESISParser\" defaults to parsing XML and has an option for parsing SGML.\n\n`\"nsgmls\"' source, and binaries for some platforms, is available from <http://www.jclark.com/>.\n`\"nsgmls\"' is included in both the SP and Jade packages.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "new Creates a new parser object. Default options for parsing, described below, are passed as\nkey-value pairs or as a single hash. Options may be changed directly in the parser object\nunless stated otherwise. Options passed to `\"parse()\"' override the default options in the\nparser object for the duration of the parse.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "The following options are supported by \"XML::ESISParser\":\n\nHandler          default handler to receive events\nDocumentHandler  handler to receive document events\nDTDHandler       handler to receive DTD events\nErrorHandler     handler to receive error events\nSource           hash containing the input source for parsing\nIsSGML           the document to be parsed is in SGML\n\nIf no handlers are provided then all events will be silently ignored.\n\nIf a single string argument is passed to the `\"parse()\"' method, it is treated as if a\n`\"Source\"' option was given with a `\"String\"' parameter.\n\nThe `\"Source\"' hash may contain the following parameters:\n\nByteStream       The raw byte stream (file handle) containing the\ndocument.\nString           A string containing the document.\nSystemId         The system identifier (URI) of the document.\n\nIf more than one of `\"ByteStream\"', `\"String\"', or `\"SystemId\"', then preference is given first\nto `\"ByteStream\"', then `\"String\"', then `\"SystemId\"'.\n",
                "subsections": []
            },
            "HANDLERS": {
                "content": "The following handlers and properties are supported by \"XML::ESISParser\":\n",
                "subsections": [
                    {
                        "name": "DocumentHandler methods",
                        "content": "startdocument\nReceive notification of the beginning of a document.\n\nNo properties defined.\n\nenddocument\nReceive notification of the end of a document.\n\nNo properties defined.\n\nstartelement\nReceive notification of the beginning of an element.\n\nName             The element type name.\nAttributes       A hash containing the attributes attached to the\nelement, if any.\nIncludedSubelement This element is an included subelement.\nEmpty            This element is declared empty.\n\nThe `\"Attributes\"' hash contains only string values. The `\"Empty\"' flag is not set for an\nelement that merely has no content, it is set only if the DTD declares it empty.\n\nBETA: Attribute values currently do not expand SData entities into entity objects, they are\nstill in the system data notation used by nsgmls (inside `|'). A future version of\nXML::ESISParser will also convert other types of attributes into their respective objects,\ncurrently just their notation or entity names are given.\n\nendelement\nReceive notification of the end of an element.\n\nName             The element type name.\n\ncharacters\nReceive notification of character data.\n\nData             The characters from the document.\n\nrecordend\nReceive notification of a record end sequence. XML applications should convert this to a\nnew-line.\n\nprocessinginstruction\nReceive notification of a processing instruction.\n\nTarget           The processing instruction target in XML.\nData             The processing instruction data, if any.\n\ninternalentityref\nReceive notification of a system data (SData) internal entity reference.\n\nName             The name of the internal entity reference.\n\nexternalentityref\nReceive notification of a external entity reference.\n\nName             The name of the external entity reference.\n\nstartsubdoc\nReceive notification of the start of a sub document.\n\nName             The name of the external entity reference.\n\nendsubdoc\nReceive notification of the end of a sub document.\n\nName             The name of the external entity reference.\n\nconforming\nReceive notification that the document just parsed conforms to it's document type\ndeclaration (DTD).\n\nNo properties defined.\n\nDTDHandler methods\nexternalentitydecl\nReceive notification of an external entity declaration.\n\nName             The entity's entity name.\nType             The entity's type (CDATA, NDATA, etc.)\nSystemId         The entity's system identifier.\nPublicId         The entity's public identifier, if any.\nGeneratedId      Generated system identifiers, if any.\n\ninternalentitydecl\nReceive notification of an internal entity declaration.\n\nName             The entity's entity name.\nType             The entity's type (CDATA, NDATA, etc.)\nValue            The entity's character value.\n\nnotationdecl\nReceive notification of a notation declaration.\n\nName             The notation's name.\nSystemId         The notation's system identifier.\nPublicId         The notation's public identifier, if any.\nGeneratedId      Generated system identifiers, if any.\n\nsubdocentitydecl\nReceive notification of a subdocument entity declaration.\n\nName             The entity's entity name.\nSystemId         The entity's system identifier.\nPublicId         The entity's public identifier, if any.\nGeneratedId      Generated system identifiers, if any.\n\nexternalsgmlentitydecl\nReceive notification of an external SGML-entity declaration.\n\nName             The entity's entity name.\nSystemId         The entity's system identifier.\nPublicId         The entity's public identifier, if any.\nGeneratedId      Generated system identifiers, if any.\n"
                    }
                ]
            },
            "AUTHOR": {
                "content": "Ken MacLeod, ken@bitsko.slc.ut.us\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "",
                "subsections": [
                    {
                        "name": "perl",
                        "content": "Extensible Markup Language (XML) <http://www.w3c.org/XML/>\nSAX 1.0: The Simple API for XML <http://www.megginson.com/SAX/>\nSGML Parser (SP) <http://www.jclark.com/sp/>\n"
                    }
                ]
            }
        }
    }
}