GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  XML::ELEMENT (3)

.ds Aq ’

NAME

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

CONTENTS

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 endtag_XML

    starttag

Redirects to starttag_XML

    as_XML



  $s = $doc->as_XML()



Returns a string representing in XML the element and its descendants.

    starttag_XML



  $start = $doc->starttag_XML();



Returns a string representing the complete start tag for the element. Except for CDATA.

    endtag_XML



  $end = $doc->endtag_XML();



Returns a string representing the complete end tag for this element. I.e., </, tag name, and >. Except for CDATA.

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

AUTHOR

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

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

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 XML::ELEMENT (3) 2014-05-29

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.