klyn.io.xml.dom.XMLDocument.XMLDocument
constructor
public XMLDocument(implementation as DOMImplementation = null, doctype as DocumentType = null)
Description

Creates an empty XML document.

Parameters
ParameterDescription
implementationDOM implementation.
doctypeOptional document type declaration.
Throws
  • DOMException if the document type already belongs to another document.
Example
document = XMLDocument()