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

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.

METHODS

$element->new( $name, %options )

  Create a new element object.

$element->xmlify()

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

$element->_element_handle()

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

$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.

$element->_has_attribute()

Inherited method, returns true if attribute has an object.

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

$element->_can_contain_elements()

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

$element->_can_contain_attributes()

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

$element->_serialise_open_tag()

  XML ELement serialisation, Open Tag.

$element->_serialise_tag()

  XML ELement serialisation, Self contained tag.

$element->_serialise_close_tag()

  XML ELement serialisation, Close Tag.

$element->_serialise_attributes()

  XML ELement serialisation, Attributes.

$element->error( $command, $error )

  Raise an error.

OVERLOADED

$object->auto_string()

$object->auto_eq( $string )

BEGIN()

  POD Catch, imagened method.

AUTHOR

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

SEE ALSO

  perl(1),L<XML::DOM2>,L<XML::DOM2::Parser>