{
    "mode": "perldoc",
    "parameter": "XML::DOM::AttlistDecl",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ADOM%3A%3AAttlistDecl/json",
    "generated": "2026-06-09T15:56:01Z",
    "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": []
        }
    },
    "summary": "XML::DOM::AttlistDecl - An XML ATTLIST declaration in XML::DOM",
    "flags": [],
    "examples": [],
    "see_also": []
}