DOMImplementation
Types
documentType
A Node containing a doctype. See DocumentType on MDN
type documentType = { nodeType: int, nodeName: string, baseURI: string, isConnected: bool, ownerDocument: Null.t<WebAPI.DOM.document>, parentNode: Null.t<WebAPI.DOMTree.node>, parentElement: Null.t<WebAPI.DOMTree.htmlElement>, childNodes: WebAPI.DOM.nodeList<WebAPI.DOMTree.node>, firstChild: Null.t<WebAPI.DOMTree.node>, lastChild: Null.t<WebAPI.DOMTree.node>, previousSibling: Null.t<WebAPI.DOMTree.node>, nextSibling: Null.t<WebAPI.DOMTree.node>, mutable nodeValue: Null.t<string>, mutable textContent: Null.t<string>, name: string, publicId: string, systemId: string,}Record fields
ownerDocument
Null.t<WebAPI.DOM.document>
Returns the node document. Returns null for documents. Read more on MDN
t
An object providing methods which are not dependent on any particular document. Such an object is returned by the Document.implementation property. See DOMImplementation on MDN
type t = private {}xmlDocument
An XML document. It inherits from the generic Document and does not add any specific methods or properties to it: nevertheless, several algorithms behave differently with the two types of documents. See XMLDocument on MDN
type xmlDocument = {}Values
createDocument
let createDocument: ( t, ~namespace: string, ~qualifiedName: string, ~doctype: documentType=?,) => xmlDocumentcreateDocumentType
let createDocumentType: ( t, ~qualifiedName: string, ~publicId: string, ~systemId: string,) => documentTypecreateHTMLDocument
let createHTMLDocument: (t, ~title: string=?) => WebAPI.DOM.document