Document.CreateDocumentType
Document.CreateDocumentType method
The method returns a DocumentType
object which can either be used with CreateDocument
upon document creation or can be put into the document via methods like InsertBefore
or ReplaceChild
.
public DocumentType CreateDocumentType(string name, string publicId, string systemId,
string internalSubset)
Parameter | Type | Description |
---|---|---|
name | String | Is a DOMString containing the qualified name, like svg:svg. |
publicId | String | Is a DOMString containing the PUBLIC identifier. |
systemId | String | Is a DOMString containing the SYSTEM identifier. |
internalSubset | String | The internal subset. |
Return Value
The DocumentType
.
See Also
- class DocumentType
- class Document
- namespace Aspose.Html.Dom
- assembly Aspose.HTML