1XML::DOM::XMLDecl(3) User Contributed Perl Documentation XML::DOM::XMLDecl(3)
2
3
4
6 XML::DOM::XMLDecl - XML declaration in XML::DOM
7
9 XML::DOM::XMLDecl extends XML::DOM::Node, but is not part of the DOM
10 Level 1 specification.
11
12 It contains the XML declaration, e.g.
13
14 <?xml version="1.0" encoding="UTF-16" standalone="yes"?>
15
16 See also XML::DOM::Document::getXMLDecl.
17
18 METHODS
19 getVersion and setVersion (version)
20 Returns and sets the XML version. At the time of this writing the
21 version should always be "1.0"
22
23 getEncoding and setEncoding (encoding)
24 undef may be specified for the encoding value.
25
26 getStandalone and setStandalone (standalone)
27 undef may be specified for the standalone value.
28
29
30
31perl v5.30.0 2019-07-26 XML::DOM::XMLDecl(3)