The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
<HTML><HEAD><TITLE>XML::DOM::XMLDecl - XML declaration in XML::DOM</TITLE></HEAD><BODY><H1><A NAME="NAME">NAME

</A></H1><P>XML::DOM::XMLDecl - XML declaration in XML::DOM

<P><HR><H1><A NAME="DESCRIPTION">DESCRIPTION

</A></H1><P>XML::DOM::XMLDecl extends <A HREF="Node.html">XML::DOM::Node</A>, but is not part of the DOM Level 1
specification.

<P>It contains the XML declaration, e.g.

<PRE> &lt;?xml version="1.0" encoding="UTF-16" standalone="yes"?&gt;

</PRE><P>See also XML::DOM::Document::getXMLDecl.

<H2><A NAME="METHODS">METHODS

</A></H2><DL><DT><A NAME="getVersion_and_setVersion_version_"><STRONG><P>getVersion and setVersion (version)

</STRONG></A><DD>Returns and sets the XML version. At the time of this writing the version should
always be "1.0"

<DT><A NAME="getEncoding_and_setEncoding_encoding_"><STRONG><P>getEncoding and setEncoding (encoding)

</STRONG></A><DD>undef may be specified for the encoding value.

<DT><A NAME="getStandalone_and_setStandalone_standalone_"><STRONG><P>getStandalone and setStandalone (standalone)

</STRONG></A><DD>undef may be specified for the standalone value.

</DL><P><HR><I><FONT SIZE="-1">Last updated: Wed Feb 23 13:37:29 2000</FONT></I></BODY></HTML>