XML::DOM::AttDef(3)

πŸ’– XML::DOM::AttDef πŸ’–

okay bestie, this is the XML::DOM::AttDef(3) manual page from the User Contributed Perl Documentation section, and it's about exactly one thing: a single XML attribute definition. slay. ✨

🌸 NAME 🌸

XML::DOM::AttDef β€” a single XML attribute definition in an ATTLIST in XML::DOM.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so XML::DOM::AttDef extends XML::DOM::Node, but it is not part of the DOM Level 1 specification. no cap.

Every object of this class represents one attribute definition in an AttlistDecl. that's the whole assignment, bestie. πŸ’…

πŸŽ€ METHODS πŸŽ€

  • getName β€” returns the attribute name. iconic.
  • getDefault β€” returns the default value, or undef. (yes, undef is a whole mood.)
  • isFixed β€” whether the attribute value is fixed (see the #FIXED keyword). πŸ”₯
  • isRequired β€” whether the attribute value is required (see the #REQUIRED keyword). πŸ‘‘
  • isImplied β€” whether the attribute value is implied (see the #IMPLIED keyword). 🫢

later bestie πŸ’– β€” the footer energy is perl v5.42.0, dated 2022-05-23, and this is XML::DOM::AttDef(3) signing off. mwah πŸ’‹

πŸ“¦ where this page comes from