655
|
1 |
=head1 NAME
|
|
2 |
|
|
3 |
XML::DOM::ElementDecl - An XML ELEMENT declaration in XML::DOM
|
|
4 |
|
|
5 |
=head1 DESCRIPTION
|
|
6 |
|
|
7 |
XML::DOM::ElementDecl extends L<XML::DOM::Node> but is not part of the
|
|
8 |
DOM Level 1 specification.
|
|
9 |
|
|
10 |
This node represents an Element declaration, e.g.
|
|
11 |
|
|
12 |
<!ELEMENT address (street+, city, state, zip, country?)>
|
|
13 |
|
|
14 |
=head2 METHODS
|
|
15 |
|
|
16 |
=over 4
|
|
17 |
|
|
18 |
=item getName
|
|
19 |
|
|
20 |
Returns the Element tagName.
|
|
21 |
|
|
22 |
=item getModel and setModel (model)
|
|
23 |
|
|
24 |
Returns and sets the model as a string, e.g.
|
|
25 |
"(street+, city, state, zip, country?)" in the above example.
|
|
26 |
|
|
27 |
=back
|