XML::DOM::XMLDecl - XML declaration in XML::DOM
XML::DOM::XMLDecl extends XML::DOM::Node, but is not part of the DOM Level 1 specification.
It contains the XML declaration, e.g.
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
See also XML::DOM::Document::getXMLDecl.
Returns and sets the XML version. At the time of this writing the version should always be "1.0"
undef may be specified for the encoding value.
undef may be specified for the standalone value.
To install XML::DOM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::DOM
CPAN shell
perl -MCPAN -e shell install XML::DOM
For more information on module installation, please visit the detailed CPAN module installation guide.