phpman > perldoc > XML::DOM::XMLDecl(3pm)

Markdown | JSON | MCP    

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
    getVersion and setVersion (version)
        Returns and sets the XML version. At the time of this writing the version should always be
        "1.0"

    getEncoding and setEncoding (encoding)
        undef may be specified for the encoding value.

    getStandalone and setStandalone (standalone)
        undef may be specified for the standalone value.

Generated by phpman v3.7.12 Author: Che Dong Under GNU General Public License
2026-06-13 17:35 @216.73.216.233
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!