Scroll to navigation

XML::Element(3) User Contributed Perl Documentation XML::Element(3)

NAME

XML::Element - XML elements with the same interface as HTML::Element

SYNOPSIS

  [See HTML::Element]

METHODS AND ATTRIBUTES

delete_ignorable_whitespace

TODO: test and document this: with no tagname set, assumes ALL all-whitespace nodes are ignorable!

endtag

Redirects to HTML::Element::endtag_XML

starttag

Redirects to HTML::Element::starttag_XML

DESCRIPTION

This is just a subclass of HTML::Element. It works basically the same as HTML::Element, except that tagnames and attribute names aren't forced to lowercase, as they are in HTML::Element.

HTML::Element describes everything you can do with this class.

CAVEATS

Has currently no handling of namespaces.

SEE ALSO

XML::TreeBuilder for a class that actually builds XML::Element structures.

HTML::Element for all documentation.

XML::DOM and XML::Twig for other XML document tree interfaces.

XML::Generator for more fun.

COPYRIGHT AND DISCLAIMERS

Copyright (c) 2000,2004 Sean M. Burke. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.

AUTHOR

Current Author: Jeff Fearn <jfearn@cpan.org>.

Former Authors: Sean M. Burke, <sburke@cpan.org>

2014-05-05 perl v5.16.3