METHODS AND ATTRIBUTES
delete_ignorable_whitespaceTODO: test and document this: with no tagname set, assumes ALL all-whitespace nodes are ignorable!
endtagRedirects to endtag_XML
starttagRedirects to starttag_XML
$s = $doc->as_XML()
Returns a string representing in XML the element and its descendants.
$start = $doc->starttag_XML();
Returns a string representing the complete start tag for the element. Except for CDATA.
$end = $doc->endtag_XML();
Returns a string representing the complete end tag for this element. I.e., ``</'', tag name, and ``>''. Except for CDATA.
DESCRIPTIONThis 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.
CAVEATSHas currently no handling of namespaces.
COPYRIGHT AND DISCLAIMERSCopyright (c) 2000,2004 Sean M. Burke. All rights reserved. Copyright (c) 2010,2011,2013 Jeff Fearn. 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.