Function Document.doctype

The DocumentType associated with this document. For XML documents without a document type declaration this returns null.

This provides direct access to the DocumentType node, child node of this Document. This node can be set at document creation time and later changed through the use of child nodes manipulation methods, such as Node.insertBefore, or Node.replaceChild.

Prototype

DocumentType!DOMString doctype() @property;

Authors

Lodovico Giaretta

Copyright

Copyright Lodovico Giaretta 2016 --

License

Boost License 1.0.