Method XmlNode():createDocument() Foundation
Creates a document node representing an XML document.
CLASS METHOD :createDocument( <cRoot> [,<cVersion>] [,<cEncoding>] [,<lStandalone>] ) --> oXmlNode
An XmlNode() object representing the new document node.
The method :createDocument() creates a document node which represents an empty XML document. The supported version of the XML standard as well as the character encoding and standalone marker are a part of the XML document declaration section, can optionally be specified via the method's parameters.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.