Platforms to show: All Mac Windows Linux Cross-Platform
XdmItemMBS class
Super class: XdmValueMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| class | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
An item is either an atomic value, a node, or a function item.
An item is a member of a sequence, but it can also be considered as a sequence (of length one) in its own right. XdmItem</ is a subtype of XdmValue</ because every Item in the XDM data model is also a value.
It cannot be assumed that every sequence of length one will be represented by an XdmItem</. It is quite possible for an XdmValue</ that is not an XdmItem</ to hold a singleton sequence.
Saxon provides two concrete subclasses of XdmItem, namely XdmNode and XdmAtomicValue. Users must not attempt to create additional subclasses.
Subclass of the XdmValueMBS class.
- 6 properties
- property isArray as Boolean
- property isAtomic as Boolean
- property isFunction as Boolean
- property isMap as Boolean
- property isNode as Boolean
- property StringValue as String
- 2 methods
- method Constructor
- method Constructor(other as XdmItemMBS)
Super class XdmValueMBS
- 7 properties
- 5 methods
- method addXdmItem(value as XdmItemMBS)
- method Constructor
- method Constructor(other as XdmValueMBS)
- method Destructor
- method Item(Index as Integer) as XdmItemMBS
- shared property ObjectCount as Integer
- 8 constants
Types
| Constant | Value | Description |
|---|---|---|
| TypeArray | 3 |
An array of values. |
| TypeAtomicValue | 1 |
An atomic value. |
| TypeEmpty | 6 |
An empty value. |
| TypeFunctionItem | 5 |
A function item. |
| TypeItem | 7 |
An item. |
| TypeMap | 4 |
A map (dictionary in Xojo). |
| TypeNode | 2 |
A node in the XML document. |
| TypeValue | 0 |
A value. |
Sub classes:
Some methods using this class:
- SaxonProcessorMBS.StringValue(item as XdmItemMBS) as String
- XdmValueMBS.addXdmItem(value as XdmItemMBS)
- XdmValueMBS.Item(Index as Integer) as XdmItemMBS
- XPathProcessorMBS.evaluateSingle(xpathStr as String, encoding as string = "") as XdmItemMBS
- XsltExecutableMBS.SetGlobalContextItem(Item as XdmItemMBS)
Some properties using for this class:
- XdmValueMBS.Head as XdmItemMBS
- XPathProcessorMBS.ContextItem as XdmItemMBS
- XQueryProcessorMBS.ContextItem as XdmItemMBS
- XsltExecutableMBS.GlobalContextItem as XdmItemMBS
Some examples using this class:
Some related classes:
- class SaxonProcessorMBS
- class XdmArrayMBS
- class XdmAtomicValueMBS
- class XdmFunctionItemMBS
- class XdmMapMBS
- class XdmNodeMBS
- class XdmValueMBS
- class XPathProcessorMBS
- class XQueryProcessorMBS
- class XsltExecutableMBS
The items on this page are in the following plugins: MBS XML Plugin.
XdmFunctionItemMBS - XdmMapMBS