Platforms to show: All Mac Windows Linux Cross-Platform
Back to XMLDocumentMBS class.
XMLDocumentMBS.DocType as XMLDocumentTypeMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | XML | MBS XML Plugin | 22.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The Document Type Declaration (see XMLDocumentTypeMBS) associated with this document. For XML documents without a document type declaration this returns nil.
The DOM Level 2 does not support editing the Document Type Declaration. docType cannot be altered in any way, including through the use of methods inherited from the XMLNodeMBS interface, such as insertNode or removeNode.
(Read only property)
XMLDocumentMBS.DocumentElement as XMLElementMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | XML | MBS XML Plugin | 22.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
Some examples using this property:
XMLDocumentMBS.DocumentURI as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | XML | MBS XML Plugin | 22.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Beware that when the XMLDocumentMBS supports the feature "HTML" , the href attribute of the HTML BASE element takes precedence over this attribute.
(Read and Write property)
XMLDocumentMBS.DOMConfig as XMLConfigurationMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | XML | MBS XML Plugin | 22.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
XMLDocumentMBS.InputEncoding as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | XML | MBS XML Plugin | 22.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
An attribute specifying the encoding used for this document at the time of the parsing. This is "" when it is not known, such as when the XMLDocumentMBS was created in memory.
(Read only property)
XMLDocumentMBS.StrictErrorChecking as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | XML | MBS XML Plugin | 22.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
An attribute specifying whether errors checking is enforced or not. When set to false, the implementation is free to not test every possible error case normally defined on DOM operations, and not raise any XMLExceptionMBS. In case of error, the behavior is undefined. This attribute is true by defaults.
(Read and Write property)
XMLDocumentMBS.XmlEncoding as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | XML | MBS XML Plugin | 22.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This is "" when unspecified or when it is not known, such as when the XMLDocumentMBS was created in memory.
(Read only property)
XMLDocumentMBS.XmlStandalone as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | XML | MBS XML Plugin | 22.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
An attribute specifying, as part of the XML declaration, whether this document is standalone. This is false when unspecified.
(Read and Write property)
XMLDocumentMBS.XmlVersion as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | XML | MBS XML Plugin | 22.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This is "" when unspecified.
(Read and Write property)
The items on this page are in the following plugins: MBS XML Plugin.