Creates a DOM Document object of the specified type with its document element.
Note that based on the DocumentType given to create the document, the implementation may instantiate specialized
Document objects that support additional features than the "Core", such as "HTML" [DOM Level 2 HTML]. On the other
hand, setting the DocumentType after the document was created makes this very unlikely to happen. Alternatively,
specialized Document creation methods, such as createHTMLDocument [DOM Level 2 HTML], can be used to obtain specific
types of Document objects.
If the namespaceURI, qualifiedName, and docType are
.nil, the returned xmlDocument is empty with no document
element.
When
docType is not
.nil, its
ownerDocument attribute is set to the document being created.
Parameters
namespaceURI='' - The (optional) namespace URI of the document element to create or
.nil.
qualifiedName='' - The (optional) qualified name of the document element to be created or null.
docType=.nil - The (optional) type of document to be created or
.
Returns
document - A new xmlDocument object with its document element.
Raises
user - domException.INVALID_CHARACTER_ERR
user - domException.NAMESPACE_ERR
Dynamically referenced by
tryxmldom.rex line 73 "out = .xmlDOMImplementation~new~createDocument"
xmlDOM.cls line 2750 "self~doc = self~dom~createDocument()"
Creates an empty DocumentType node. Entity declarations and notations are not made available. Entity reference
expansions and default attribute additions do not occur.
Parameters
qualifiedName - The qualified name for to new document (e.g. 'gpx')
publicId - The public identifier of this document type (e.g. '-//W3C//DTD XHTML 1.0 Strict//EN')
systemId - The system identifier for the document type (e.g. 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd')
Returns
node - An empty xmlDocumentType node.
This method returns a specialized object which implements the specialized APIs of the specified feature and version,
as specified in DOM Features. The specialized object may also be obtained by using binding-specific casting methods
but is not necessarily expected to, as discussed in Mixed DOM Implementations. This method also allow the
implementation to provide specialized objects which do not support the DOMImplementation interface.
The returned xmlDomObject which implements the specialized APIs of the specified feature and version, it is
.nil if there is no object which implements interfaces associated with that feature.
NOTE,/b> - The DOM Level 3 Feature handler support is not currently implemented, therefore getFeature
will always return .nil.
Parameters
feature - The name of the feature requested.
version - This is the version number of the feature to test.
Returns
object - Returns a xmlDomObject or .nil.
Test if the DOM implementation implements a specific feature and version, as specified in DOM Features.
Parameters
feature - The name of the feature requested.
version='' - This is the (optional) version number of the feature to test.
Returns
boolean - Returns
.true if the feature is implemented in the specified version,
.false otherwise.