Base element class for XML elements. To be derived from to create your own
elements for use with the XML::Parser module. Supports output of empty
elements using <.... />.
It is recommended that you use a version of the XML::Parser module which
includes support for Styles; by deriving your own elements from
PPM::XML::Element and using the 'Objects' style it becomes much easier
to create your own parser.
Adds character data to the end of the element. The element created is placed
within the same package space as the element it was created under (e.g. adding
text to a XML::Foobar::Stuff element would put the character data into an
XML::Foobar::Characters element). If successful, this method returns a
reference to the newly created element.
Returns a string value containing the entire content of this XML element. Note
that this is quite similar to the as_text() method except that it does not
include any information about this element in particular.