ElementDecl.pod 529 字节
Newer Older
Z
zhanghan17 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
=head1 NAME

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

=head1 DESCRIPTION

XML::DOM::ElementDecl extends L<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?)>

=head2 METHODS

=over 4

=item getName

Returns the Element tagName.

=item getModel and setModel (model)

Returns and sets the model as a string, e.g. 
"(street+, city, state, zip, country?)" in the above example.

=back