{
    "content": [
        {
            "type": "text",
            "text": "# XML::LibXML::SAX::Builder (perldoc)\n\n## NAME\n\nXML::LibXML::SAX::Builder - Building DOM trees from SAX events.\n\n## SYNOPSIS\n\nuse XML::LibXML::SAX::Builder;\nmy $builder = XML::LibXML::SAX::Builder->new();\nmy $gen = XML::Generator::DBI->new(Handler => $builder, dbh => $dbh);\n$gen->execute(\"SELECT * FROM Users\");\nmy $doc = $builder->result();\n\n## DESCRIPTION\n\nThis is a SAX handler that generates a DOM tree from SAX events. Usage is as above. Input is\naccepted from any SAX1 or SAX2 event generator.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **AUTHORS**\n- **VERSION**\n- **COPYRIGHT**\n- **LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "XML::LibXML::SAX::Builder",
        "section": "",
        "mode": "perldoc",
        "summary": "XML::LibXML::SAX::Builder - Building DOM trees from SAX events.",
        "synopsis": "use XML::LibXML::SAX::Builder;\nmy $builder = XML::LibXML::SAX::Builder->new();\nmy $gen = XML::Generator::DBI->new(Handler => $builder, dbh => $dbh);\n$gen->execute(\"SELECT * FROM Users\");\nmy $doc = $builder->result();",
        "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": 11,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "LICENSE",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "XML::LibXML::SAX::Builder - Building DOM trees from SAX events.\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use XML::LibXML::SAX::Builder;\nmy $builder = XML::LibXML::SAX::Builder->new();\n\nmy $gen = XML::Generator::DBI->new(Handler => $builder, dbh => $dbh);\n$gen->execute(\"SELECT * FROM Users\");\n\nmy $doc = $builder->result();\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This is a SAX handler that generates a DOM tree from SAX events. Usage is as above. Input is\naccepted from any SAX1 or SAX2 event generator.\n\nBuilding DOM trees from SAX events is quite easy with XML::LibXML::SAX::Builder. The class is\ndesigned as a SAX2 final handler not as a filter!\n\nSince SAX is strictly stream oriented, you should not expect anything to return from a\ngenerator. Instead you have to ask the builder instance directly to get the document built.\nXML::LibXML::SAX::Builder's result() function holds the document generated from the last SAX\nstream.\n",
                "subsections": []
            },
            "AUTHORS": {
                "content": "Matt Sergeant, Christian Glahn, Petr Pajas\n",
                "subsections": []
            },
            "VERSION": {
                "content": "2.0134\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "2001-2007, AxKit.com Ltd.\n\n2002-2006, Christian Glahn.\n\n2006-2009, Petr Pajas.\n",
                "subsections": []
            },
            "LICENSE": {
                "content": "This program is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
                "subsections": []
            }
        }
    }
}