XML::DO...mentDecl(3)

🌸 NAME 🌸

okay bestie, welcome to XML::DOM::ElementDecl(3) from the User Contributed Perl Documentation collection 🫢. The name line is literally XML::DOM::ElementDecl β€” An XML ELEMENT declaration in XML::DOM ✨.


πŸ¦‹ DESCRIPTION πŸ¦‹

XML::DOM::ElementDecl extends XML::DOM::Node, but plot twist: it is not part of the DOM Level 1 specification πŸ™ˆ.

This node represents an Element declaration, like this iconic example:

<!ELEMENT address (street+, city, state, zip, country?)>

πŸŽ€ METHODS πŸŽ€

πŸ’… getName

Returns the Element tagName πŸ‘‘

πŸ’œ getModel and setModel (model)

Returns and sets the model as a string, e.g. "(street+, city, state, zip, country?)" in the above example 🌟.


mwah πŸ’‹ β€” this page is from perl v5.42.0, dated 2022-05-23 πŸŽ€βœ¨

πŸ“¦ where this page comes from