# XML::DOM::AttDef - A single XML attribute definition in an ATTLIST in X... - perldoc - [phpMan]

## NAME
    [XML::DOM::AttDef](https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ADOM%3A%3AAttDef/markdown) - A single XML attribute definition in an ATTLIST in [XML::DOM](https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ADOM/markdown)

## DESCRIPTION
    [XML::DOM::AttDef](https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ADOM%3A%3AAttDef/markdown) extends [XML::DOM::Node](https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ADOM%3A%3ANode/markdown), but is not part of the DOM Level 1 specification.

    Each object of this class represents one attribute definition in an AttlistDecl.

  METHODS
    getName
        Returns the attribute name.

    getDefault
        Returns the default value, or undef.

    isFixed
        Whether the attribute value is fixed (see #FIXED keyword.)

    isRequired
        Whether the attribute value is required (see #REQUIRED keyword.)

    isImplied
        Whether the attribute value is implied (see #IMPLIED keyword.)

