Platforms to show: All Mac Windows Linux Cross-Platform
XMLTypeInfoMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | XML | MBS XML Plugin | 22.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The type is a pair of a namespace URI and name properties, and depends on the document's schema.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 3 properties
- property Handle as Integer
- property TypeName as String
- property TypeNamespace as String
- 2 methods
- method Constructor Private
- method isDerivedFrom(typeNamespaceArg as String, typeNameArg as String, derivationMethod as Integer) as Boolean
- 4 constants
DerivationMethods
Constant | Value | Description |
---|---|---|
DerivationExtension | 2 |
If the document's schema is an XML Schema [XML Schema Part 1], this constant represents the derivation by extension. The reference type definition is derived by extension from the other type definition if the other type definition can be reached recursively following the {base type definition} property from the reference type definition, and at least one of the derivation methods involved is an extension. |
DerivationList | 8 |
If the document's schema is an XML Schema [XML Schema Part 1], this constant represents the list. The reference type definition is derived by list from the other type definition if there exists two type definitions T1 and T2 such as the reference type definition is derived from T1 by DerivationRestriction or DerivationExtension, T2 is derived from the other type definition by DerivationRestriction, T1 has {variety} list, and T2 is the {item type definition}. Note that T1 could be the same as the reference type definition, and T2 could be the same as the other type definition. |
DerivationRestriction | 1 |
If the document's schema is an XML Schema [XML Schema Part 1], this constant represents the derivation by restriction if complex types are involved, or a restriction if simple types are involved. The reference type definition is derived by restriction from the other type definition if the other type definition is the same as the reference type definition, or if the other type definition can be reached recursively following the {base type definition} property from the reference type definition, and all the derivation methods involved are restriction. |
DerivationUnion | 4 |
If the document's schema is an XML Schema [XML Schema Part 1], this constant represents the union if simple types are involved. The reference type definition is derived by union from the other type definition if there exists two type definitions T1 and T2 such as the reference type definition is derived from T1 by DerivationRestriction or DerivationExtension, T2 is derived from the other type definition by DerivationRestriction, T1 has {variety} union, and one of the {member type definitions} is T2. Note that T1 could be the same as the reference type definition, and T2 could be the same as the other type definition. |
This class has no sub classes.
Some properties using for this class:
- XMLAttributeMBS.SchemaTypeInfo as XMLTypeInfoMBS
- XMLElementMBS.SchemaTypeInfo as XMLTypeInfoMBS
- XMLXPathResultMBS.TypeInfo as XMLTypeInfoMBS
The items on this page are in the following plugins: MBS XML Plugin.
XMLTreeWalkerMBS - XMLValidatorMBS