---
name: "SVG::Extension"
section: "3pm"
platform: "linux"
package: "libsvg-perl"
version: "2.87-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SVG::Extension"
---

# SVG::Extension(3pm)

additional methods

## NAME

SVG::Extension - additional methods

### extension

return the element object

### element\_decl

generate an element declaration in the DTD

### attribute\_decl

return generate an attribute list for an element

### attlist\_decl

### notation\_decl(%attrs)

return an extension object of type NOTATION

### entity\_decl(%attrs)

return an extension object of type 'ENTITY'

### xmilfy

### render

alias for xmlify

### to\_xml

alias for xmlify

### serialise

alias for xmlify

### serialise

alias for xmlify

### 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
