SVG::Extension(3)

✨ NAME ✨

SVG::Extension β€” bestie, this is the little package that gives you additional methods πŸ’– it's the extra-special side of the SVG module that handles all the DTD declaration business. Think of it as the group chat where elements, attributes, entities and notations all get their names sorted out. πŸŽ€


🌸 THE METHODS 🌸

Okay so here's every method, in order, no skips, no cap.

extension

return the element object ✨

element_decl

generate an element declaration in the DTD 🧚

attribute_decl

return generate an attribute list for an element πŸ’… (yes, that's the wording, i'm not touching it, it's iconic)

attlist_decl

(no description in the source β€” it's just here, sitting pretty, saying nothing) πŸ™ˆ

notation_decl(%attrs)

return an extension object of type NOTATION πŸ‘‘

entity_decl(%attrs)

return an extension object of type 'ENTITY' 🌈

xmilfy

(no description in the source β€” spelling is exactly as-is, don't come for me) πŸ’€

render

alias for xmlify πŸ¦‹

to_xml

alias for xmlify ⭐

serialise

alias for xmlify πŸ’œ

serialise

alias for xmlify πŸ’œ β€” yep, it's listed twice in the original, and bestie we are keeping both. The way that duplication just is. 🫢

getDeclName

Simply an alias for the general method for SVG::Extension objects ✨

getExtensionName

alias to getDeclName πŸŽ€

getDeclNames

return list of existing decl types by extracting it from the overall list of existing element types πŸ”₯

sub getDeclNames {

getExtensionNames

alias to getDeclNames 🌸


πŸ’– gentle reminder bestie: the descriptions above are exactly what the page says β€” no invented behaviour, no extra tips, no guessing. if it's not on the page, it's not in here. periodt.

This whole thing comes from perl v5.42.0, dated 2026-03-13, and it's part of the User Contributed Perl Documentation. That's the tea, mwah πŸ’…

πŸ“¦ where this page comes from