The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

XML::DOM2::Element - XML Element level control

DISCRIPTION

Element base class represents an element at the XML level. More specific element classes control the xml functionality which is abstracted from the xml.

AUTHOR

Martin Owens <doctormo@cpan.org> (Fork) Ronan Oger <ronan@roasp.com>

SEE ALSO

perl(1),XML::DOM2,XML::DOM2::Parser

xmlify

Returns the element and all it's sub elements as a serialised xml string (serialisation)

my $xml = $element->xmlify;

_element_handle

Inherited method, returns element which is the specific kind of child object required for this element.

_attribute_handle

Inherited method, returns attribute as new object or undef.

$attribute = $element->_attribute_handle( $attribute_name, $ns );

Used by XML::DOM2::DOM for auto attribute object handlers.

_has_attribute

Inherited method, returns true if attribute has an object.

Used by XML::DOM2::DOM for auto attribute object handlers.

_can_contain_elements

Inherited method, returns true if the element can contain sub elements

_can_contain_attributes

Inherited method, returns true if the element can have attributes.

_serialise_open_tag

XML ELement serialisation, Open Tag.

_serialise_tag

XML ELement serialisation, Self contained tag.

_serialise_close_tag

XML ELement serialisation, Close Tag.

_serialise_attributes

XML ELement serialisation, Attributes.