xml.DomDocument.getXmlEncoding

Returns the document encoding as defined in the XML document declaration.

Syntax

getXmlEncoding()
  RETURNING result STRING

Usage

Returns the document encoding as defined in the XML document declaration, or NULL if there is none.