IDOMImplementation.CreateDocumentType(String, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.