Function DOMImplementation.createDocument

Creates a DOM Document object of the specified type with its document element.

Note that based on the DocumentType given to create the document, the implementation may instantiate specialized Document objects that support additional features than the "Core", such as "HTML". On the other hand, setting the DocumentType after the document was created makes this very unlikely to happen.

Prototype

Document!DOMString createDocument(
  DOMString namespaceURI,
  DOMString qualifiedName,
  DocumentType!DOMString doctype
);

Authors

Lodovico Giaretta

Copyright

Copyright Lodovico Giaretta 2016 --

License

Boost License 1.0.