Creates a DOM 文書 反対する of the 明示するd type with its 文書 element.
Throws:
DOMException - INVALID_CHARACTER_ERR: Raised if the 明示するd qualified 指名する 含む/封じ込めるs an 違法な character.
NAMESPACE_ERR: Raised if the qualifiedName is malformed, if the qualifiedName has a prefix
and the namespaceURI is null, or if the qualifiedName has a prefix that is "xml" and
the namespaceURI is different from " http://www.w3.org/XML/1998/namespace" , or if the
DOM 実施 does not support the "XML" feature but a 非,不,無-null namespace URI was
供給するd, since namespaces were defined by XML.
WRONG_DOCUMENT_ERR: Raised if doctype has already been used with a different 文書 or
was created from a different 実施.
NOT_SUPPORTED_ERR: May be raised by DOM 実施s which do not support the
"XML" feature, if they choose not to support this method. Other features introduced
in the 未来, by the DOM WG or in 拡張s defined by other groups, may also
需要・要求する support for this method; please 協議する the 鮮明度/定義 of the feature to see
if it 要求するs this method.
Creates an empty DocumentType node.
Throws:
DOMException - INVALID_CHARACTER_ERR: Raised if the 明示するd qualified 指名する 含む/封じ込めるs an 違法な character.
NAMESPACE_ERR: Raised if the qualifiedName is malformed.
NOT_SUPPORTED_ERR: May be raised by DOM 実施s which do not support the
"XML" feature, if they choose not to support this method. Other features introduced
in the 未来, by the DOM WG or in 拡張s defined by other groups, may also 需要・要求する
support for this method; please 協議する the 鮮明度/定義 of the feature to see if it
要求するs this method.
Creates a DOM 文書 反対する of the 明示するd type with its 文書 element.
Throws:
DOMException - INVALID_CHARACTER_ERR: Raised if the 明示するd qualified 指名する 含む/封じ込めるs an 違法な character.
NAMESPACE_ERR: Raised if the qualifiedName is malformed, if the qualifiedName has a prefix
and the namespaceURI is null, or if the qualifiedName has a prefix that is "xml" and
the namespaceURI is different from " http://www.w3.org/XML/1998/namespace" , or if the
DOM 実施 does not support the "XML" feature but a 非,不,無-null namespace URI was
供給するd, since namespaces were defined by XML.
WRONG_DOCUMENT_ERR: Raised if doctype has already been used with a different 文書 or
was created from a different 実施.
NOT_SUPPORTED_ERR: May be raised by DOM 実施s which do not support the
"XML" feature, if they choose not to support this method. Other features introduced
in the 未来, by the DOM WG or in 拡張s defined by other groups, may also
需要・要求する support for this method; please 協議する the 鮮明度/定義 of the feature to see
if it 要求するs this method.
Creates an empty DocumentType node.
Throws:
DOMException - INVALID_CHARACTER_ERR: Raised if the 明示するd qualified 指名する 含む/封じ込めるs an 違法な character.
NAMESPACE_ERR: Raised if the qualifiedName is malformed.
NOT_SUPPORTED_ERR: May be raised by DOM 実施s which do not support the
"XML" feature, if they choose not to support this method. Other features introduced
in the 未来, by the DOM WG or in 拡張s defined by other groups, may also 需要・要求する
support for this method; please 協議する the 鮮明度/定義 of the feature to see if it
要求するs this method.