{
    "content": [
        {
            "type": "text",
            "text": "# XML::DOM::AttlistDecl (perldoc)\n\n## NAME\n\nXML::DOM::AttlistDecl - An XML ATTLIST declaration in XML::DOM\n\n## DESCRIPTION\n\nXML::DOM::AttlistDecl extends XML::DOM::Node but is not part of the DOM Level 1 specification.\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "XML::DOM::AttlistDecl",
        "section": "",
        "mode": "perldoc",
        "summary": "XML::DOM::AttlistDecl - An XML ATTLIST declaration in XML::DOM",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 28,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "XML::DOM::AttlistDecl - An XML ATTLIST declaration in XML::DOM\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "XML::DOM::AttlistDecl extends XML::DOM::Node but is not part of the DOM Level 1 specification.\n\nThis node represents an ATTLIST declaration, e.g.\n\n<!ATTLIST person\nsex      (male|female)  #REQUIRED\nhair     CDATA          \"bold\"\neyes     (none|one|two) \"two\"\nspecies  (human)        #FIXED \"human\">\n\nEach attribute definition is stored a separate AttDef node. The AttDef nodes can be retrieved\nwith getAttDef and added with addAttDef. (The AttDef nodes are stored in a NamedNodeMap\ninternally.)\n\nMETHODS\ngetName\nReturns the Element tagName.\n\ngetAttDef (attrName)\nReturns the AttDef node for the attribute with the specified name.\n\naddAttDef (attrName, type, default, [ fixed ])\nAdds a AttDef node for the attribute with the specified name.\n\nParameters: *attrName* the attribute name. *type* the attribute type (e.g. \"CDATA\" or\n\"(male|female)\".) *default* the default value enclosed in quotes (!), the string #IMPLIED or\nthe string #REQUIRED. *fixed* whether the attribute is '#FIXED' (default is 0.)\n",
                "subsections": []
            }
        }
    }
}