{
    "mode": "perldoc",
    "parameter": "XML::Parser::Style::Objects",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/XML%3A%3AParser%3A%3AStyle%3A%3AObjects/json",
    "generated": "2026-06-13T20:19:14Z",
    "synopsis": "use XML::Parser;\nmy $p = XML::Parser->new(Style => 'Objects', Pkg => 'MyNode');\nmy $tree = $p->parsefile('foo.xml');",
    "sections": {
        "NAME": {
            "content": "XML::Parser::Style::Objects - Objects styler parser\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use XML::Parser;\nmy $p = XML::Parser->new(Style => 'Objects', Pkg => 'MyNode');\nmy $tree = $p->parsefile('foo.xml');\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This module implements XML::Parser's Objects style parser.\n\nThis is similar to the Tree style, except that a hash object is created for each element. The\ncorresponding object will be in the class whose name is created by appending \"::\" and the\nelement name to the package set with the Pkg option. Non-markup text will be in the ::Characters\nclass. The contents of the corresponding object will be in an anonymous array that is the value\nof the Kids property for that object.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "XML::Parser::Style::Tree\n",
            "subsections": []
        }
    },
    "summary": "XML::Parser::Style::Objects - Objects styler parser",
    "flags": [],
    "examples": [],
    "see_also": []
}