Platforms to show: All Mac Windows Linux Cross-Platform

Back to XMLConfigurationMBS class.

XMLConfigurationMBS.ByteOrderMark as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Whether to include byte order mark byte in output.

(Read and Write property)

XMLConfigurationMBS.CanonicalForm as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Whether to .

true: Canonicalize the document according to the rules specified in [Canonical XML]. Note that this is limited to what can be represented in the DOM. In particular, there is no way to specify the order of the attributes in the DOM.
false: (default) Do not canonicalize the document.
(Read and Write property)

XMLConfigurationMBS.CDataSections as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Whether to keep CData sections in the document.

true: (default) Keep CDATASection nodes in the document.
false: Transform CDATASection nodes in the document into Text nodes. The new Text node is then combined with any adjacent Text node.
(Read and Write property)

XMLConfigurationMBS.Comments as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Whether to keep comments.

true: (default) Keep Comment nodes in the document.
false: Discard Comment nodes in the Document.
(Read and Write property)

XMLConfigurationMBS.DataTypeNormalization as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Wether to perform data type normalization.

true: Exposed normalized values in the tree.
false: (default) Do not perform normalization on the tree.
(Read and Write property)

XMLConfigurationMBS.DiscardDefaultContent as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Whether to discard default content.

true: (default) Use whatever information available to the implementation (i.e. XML schema, DTD, the specified flag on Attr nodes, and so on) to decide what attributes and content should be discarded or not. Note that the specified flag on Attr nodes in itself is not always reliable, it is only reliable when it is set to false since the only case where it can be set to false is if the attribute was created by the implementation. The default content won't be removed if an implementation does not have any information available.
false: Keep all attributes and all content.
(Read and Write property)

XMLConfigurationMBS.elementcontentwhitespace as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Whether to keep all white spaces.
Example

Dim parser As New XMLParserMBS

// configure the parser
Dim DOMConfig As XMLConfigurationMBS = p.DOMConfig
DOMConfig.ElementContentWhitespace=False

// prepare XML input
Dim Input As New XMLInputMBS
Input.InputString = kXML2

// and parse
Var xml1 As XMLDocumentMBS = p.parse(Input)

Break

true: (default) Keep all white spaces in the document.
false: Discard white space in element content while normalizing. The implementation is expected to use the isWhitespaceInElementContent flag on Text nodes to determine if a text node should be written out or not.
(Read and Write property)

XMLConfigurationMBS.Entities as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Keep entities in the document.

true: Keep EntityReference and Entity nodes in the document.
false: (default) Remove all EntityReference and Entity nodes from the document, putting the entity expansions directly in their place. Text nodes are into "normal" form. Only EntityReference nodes to non-defined entities are kept in the document.
(Read and Write property)

XMLConfigurationMBS.formatprettyprint as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Whether to pretty print XML.

For serializing XML.

Formatting the output by adding whitespace to produce a pretty-printed, indented, human-readable form. The exact form of the transformations is not specified by this specification.
Pretty-printing changes the content of the document and may affect the validity of the document, validating implementations should preserve validity.
(Read and Write property)

XMLConfigurationMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The internal object reference.

(Read only property)

XMLConfigurationMBS.ignoreunknowncharacterdenormalizations as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Whether to ignore unknown character normalizations.

For serializing XML.

If, while verifying full normalization when [XML 1.1] is supported, a character is encountered for which the normalization properties cannot be determined, then raise a "unknown-character-denormalization" warning (instead of raising an error, if this parameter is not set) and ignore any possible denormalizations caused by these characters.

Set to false to report a fatal error if a character is encountered for which the processor cannot determine the normalization properties.
(Read and Write property)

XMLConfigurationMBS.InfoSet as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Whether to only keep the information defined in the XML Information Set.

true: Only keep in the document the information defined in the XML Information Set [XML Information set]. This forces the following features to false: namespace-declarations, validate-if-schema, entities, datatype-normalization, cdata-sections. This forces the following features to true: whitespace-in-element-content, comments, namespaces. Other features are not changed unless explicitly specified in the description of the features. Note that querying this feature with getFeature returns true only if the individual features specified above are appropriately set.
false: Setting infoset to false has no effect.
(Read and Write property)

XMLConfigurationMBS.namespacedeclarations as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Whether to include namespace declaration attributes.

true: (default) Include namespace declaration attributes, specified or defaulted from the schema or the DTD, in the document. See also the section Declaring Namespaces in [XML Namespaces].
false: Discard all namespace declaration attributes. The Namespace prefixes are retained even if this feature is set to false.
(Read and Write property)

XMLConfigurationMBS.NameSpaces as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Whether to do namespace processing.

true: (default) Perform the namespace processing as defined in [XML Namespaces].
false: Do not perform the namespace processing.
(Read and Write property)

XMLConfigurationMBS.normalizecharacters as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Whether to do character normalization.

true: Perform the W3C Text Normalization of the characters [CharModel] in the document.
false: (default) Do not perform character normalization.
(Read and Write property)

XMLConfigurationMBS.SpaceFirstLevelElements as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Whether to space first level elements for pretty print.

If true, this adds an extra line feed between the elements that are children of the document root.
(Read and Write property)

XMLConfigurationMBS.splitcdatasections as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Whether to split the CData Sections.

true: (default) Split CDATA sections containing the CDATA section termination marker ']]>'. When a CDATA section is split a warning is issued.
false: Signal an error if a CDATASection contains an unrepresentable character.
(Read and Write property)

XMLConfigurationMBS.Validate as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Whether to validate against a schema.

true: Require the validation against a schema (i.e. XML schema, DTD, any other type or representation of schema) of the document as it is being normalized as defined by [XML 1.0]. If validation errors are found, or no schema was found, the error handler is notified. Note also that normalized values will not be exposed to the schema in used unless the feature datatype-normalization is true.
Note: validate-if-schema and validate are mutually exclusive, setting one of them to true will set the other one to false.
false: (default) Only XML 1.0 non-validating processing must be done. Note that validation might still happen if validate-if-schema is true.
(Read and Write property)

XMLConfigurationMBS.validateifschema as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Whether to validate only if a declaration for the document element can be found.

true: Enable validation only if a declaration for the document element can be found (independently of where it is found, i.e. XML schema, DTD, or any other type or representation of schema). If validation errors are found, the error handler is notified. Note also that normalized values will not be exposed to the schema in used unless the feature datatype-normalization is true.
Note: validate-if-schema and validate are mutually exclusive, setting one of them to true will set the other one to false.
false: (default) No validation should be performed if the document has a schema. Note that validation must still happen if validate is true.
(Read and Write property)

XMLConfigurationMBS.xmldeclaration as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Whether to include declaration.

For serializing XML.

If a XMLDocumentMBS, XMLElementMBS, or XMLEntityMBS node is serialized, the XML declaration, or text declaration, should be included. The version (xmlVersion if the document is a Level 3 document and the version is non-null, otherwise use the value "1.0"), and the output encoding (see write methods for details on how to find the output encoding) are specified in the serialized XML declaration.

Do not serialize the XML and text declarations. Report a "xml-declaration-needed" warning if this will cause problems (i.e. the serialized data is of an XML version other than [XML 1.0], or an encoding would be needed to be able to re-parse the serialized data).
(Read and Write property)

The items on this page are in the following plugins: MBS XML Plugin.


The biggest plugin in space...