Method Parser.XML.Tree.VirtualNode()->get_encoding() Method get_encoding protected string get_encoding() Description Get the encoding from the XML-header (if any). Create a new XML-header if there's none. Add an encoding attribute if there is none.