{
    "content": [
        {
            "type": "text",
            "text": "# XML::Handler::BuildDOM (perldoc)\n\n## NAME\n\nXML::Handler::BuildDOM - PerlSAX handler that creates XML::DOM document structures\n\n## SYNOPSIS\n\nuse XML::Handler::BuildDOM;\nuse XML::Parser::PerlSAX;\nmy $handler = new XML::Handler::BuildDOM (KeepCDATA => 1);\nmy $parser = new XML::Parser::PerlSAX (Handler => $handler);\nmy $doc = $parser->parsefile (\"file.xml\");\n\n## DESCRIPTION\n\nXML::Handler::BuildDOM creates XML::DOM document structures (i.e. XML::DOM::Document) from\nPerlSAX events.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "XML::Handler::BuildDOM",
        "section": "",
        "mode": "perldoc",
        "summary": "XML::Handler::BuildDOM - PerlSAX handler that creates XML::DOM document structures",
        "synopsis": "use XML::Handler::BuildDOM;\nuse XML::Parser::PerlSAX;\nmy $handler = new XML::Handler::BuildDOM (KeepCDATA => 1);\nmy $parser = new XML::Parser::PerlSAX (Handler => $handler);\nmy $doc = $parser->parsefile (\"file.xml\");",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 27,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "XML::Handler::BuildDOM - PerlSAX handler that creates XML::DOM document structures\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use XML::Handler::BuildDOM;\nuse XML::Parser::PerlSAX;\n\nmy $handler = new XML::Handler::BuildDOM (KeepCDATA => 1);\nmy $parser = new XML::Parser::PerlSAX (Handler => $handler);\n\nmy $doc = $parser->parsefile (\"file.xml\");\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "XML::Handler::BuildDOM creates XML::DOM document structures (i.e. XML::DOM::Document) from\nPerlSAX events.\n\nThis class used to be called XML::PerlSAX::DOM prior to libxml-enno 1.0.1.\n\nCONSTRUCTOR OPTIONS\nThe XML::Handler::BuildDOM constructor supports the following options:\n\n*   KeepCDATA => 1\n\nIf set to 0 (default), CDATASections will be converted to regular text.\n\n*   Document => $doc\n\nIf undefined, startdocument will extract it from Element or DocType (if set), otherwise it\nwill create a new XML::DOM::Document.\n\n*   Element => $elem\n\nIf undefined, it is set to Document. This will be the insertion point (or parent) for the\nnodes defined by the following callbacks.\n\n*   DocType => $doctype\n\nIf undefined, startdocument will extract it from Document (if possible). Otherwise it adds\na new XML::DOM::DocumentType to the Document.\n",
                "subsections": []
            }
        }
    }
}