[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Creates a DOM Document Type using the specified arguments.
Source position: laz2_dom.pas line 447
public function TDOMImplementation.CreateDocumentType( |
const QualifiedName: DOMString; |
const PublicID: DOMString; |
const SystemID: DOMString |
QualifiedName |
|
Qualified name used in the DOM Document type. |
PublicID |
|
Public ID for the DOM Document type. |
SystemID |
|
System ID for the DOM Document type. |
TDOMDocumentType created in the method.
CreateDocumentType is a method used to create an instance of a DOM Document Type. CreateDocumentType implements the method specified for the DOMImplementation interface in the DOM Level 2 specification.
Create ensures that the value in the QualifiedName argument is a valid XML Name, including its use of 'xml' or 'xmlns' prefixes in the name token. If QualifiedName is not valid, an EDOMError exception is raised.
CreateDocumentType returns a TDOMDocumentType instance with the values from the QualifiedName, PublicID, and SystemID parameters assigned to its Name, PublicID, and SystemID properties.
Use CreateDocumentType to create the optional DTD instance passed as an argument to the CreateDocument method, and assigned as the DocType property in the new Document.
Raises an EDOMError exception if an invalid value is specified in the QualifiedName argument.
|
Creates a new DOM Document instance. |
|
|
Implements the DOM DocumentType interface from the DOM specification. |
|
|
Document Type declaration used in the document. |
|
|
Determines if the specified value contains a valid XML element name. |
Version 4.0 | Generated 2025-05-03 | Home |