IDOMImplementation.CreateDocumentType(String, String, String) Method

Definition

Creates an empty DocumentType node.

[Android.Runtime.Register("createDocumentType", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/DocumentType;", "GetCreateDocumentType_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler:Org.W3c.Dom.IDOMImplementationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.W3c.Dom.IDocumentType? CreateDocumentType (string? qualifiedName, string? publicId, string? systemId);
[<Android.Runtime.Register("createDocumentType", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/DocumentType;", "GetCreateDocumentType_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler:Org.W3c.Dom.IDOMImplementationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member CreateDocumentType : string * string * string -> Org.W3c.Dom.IDocumentType

Parameters

qualifiedName
String

The qualified name of the document type to be created.

publicId
String

The external subset public identifier.

systemId
String

The external subset system identifier.

Returns

A new DocumentType node with Node.ownerDocument set to null.

Attributes

Exceptions

INVALID_CHARACTER_ERR: Raised if the specified qualified name is not an XML name according to [].
NAMESPACE_ERR: Raised if the qualifiedName is malformed.
NOT_SUPPORTED_ERR: May be raised if the implementation does not support the feature "XML" and the language exposed through the Document does not support XML Namespaces (such as []).

Remarks

Creates an empty DocumentType node. Entity declarations and notations are not made available. Entity reference expansions and default attribute additions do not occur..

Added in DOM Level 2.

Java documentation for org.w3c.dom.DOMImplementation.createDocumentType(java.lang.String, java.lang.String, java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to