File: XMLDecl.pod

package info (click to toggle)
libxml-dom-perl 1.46-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 692 kB
  • sloc: perl: 4,216; xml: 4,117; makefile: 2
file content (33 lines) | stat: -rw-r--r-- 686 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
=head1 NAME

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

=head1 DESCRIPTION

XML::DOM::XMLDecl extends L<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.

=head2 METHODS

=over 4

=item getVersion and setVersion (version)

Returns and sets the XML version. At the time of this writing the version should
always be "1.0"

=item getEncoding and setEncoding (encoding)

undef may be specified for the encoding value.

=item getStandalone and setStandalone (standalone)

undef may be specified for the standalone value.

=back