View on
MetaCPAN
search.cpan.org is shutting down
For details read Perl NOC. After June 25th this page will redirect to MetaCPAN.org
T.J. Mather > XML-DOM > XML::DOM::ElementDecl

Download:
XML-DOM-1.46.tar.gz

Annotate this POD

CPAN RT

New  4
Open  1
View/Report Bugs
Source  

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.

syntax highlighting: