Scroll to navigation

XML::DOM::ElementDecl(3pm) User Contributed Perl Documentation XML::DOM::ElementDecl(3pm)

NAME

XML::DOM::ElementDecl - An XML ELEMENT declaration in XML::DOM

DESCRIPTION

XML::DOM::ElementDecl extends XML::DOM::Node but is not part of the DOM Level 1 specification.
This node represents an Element declaration, e.g.
 <!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.
2008-02-03 perl v5.8.8