klyn.io.xml.dom.XMLDocument.doctype
property
public readonly property doctype as DocumentType
Description

Current document type child, or null when the document has none. Reflects insertions, replacements and removals through the Node API.

Example
document = XMLDocument(null, XMLDocumentType("root"))
assert document.doctype is document.firstChild