Scroll to navigation

XML::DOM::XMLDecl(3pm) User Contributed Perl Documentation XML::DOM::XMLDecl(3pm)

NAME

XML::DOM::XMLDecl - XML declaration in XML::DOM

DESCRIPTION

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.

METHODS

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.
2019-11-24 perl v5.30.0