xml dom document

The encoding of the file to use must be the one specified in the first line of the XML document.

For example, if the first line of the XML document is <?xml version="1.0" encoding="UTF-8"?>, then the file must be encoded in UTF-8.

Parent: xml dom node
Version Platforms
8.0.584.0 Session, Windows
9.2.7.53 Debian, Red Hat, SUSE, Ubuntu
9.5.13.130 Raspbian

Creation

owner document of <xml dom node> : xml dom document
xml document of <file> : xml dom document
xml document of <string> : xml dom document