The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

XML2::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),XML2,XML2::Parser

xmlify

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

my $xml = $element->xmlify;

getElementByXPath

Returns an element by XPath normal XPath rules apply.

_attribute_handle

Inherited method, returns attribute as new object or undef.

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

Used by XML2::DOM for auto attribute object handlers.

_has_attribute

Inherited method, returns true if attribute has an object.

Used by XML2::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.