Platforms to show: All Mac Windows Linux Cross-Platform
XdmNodeMBS class
Super class: XdmItemMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| class | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
A Node is an XdmItemMBS, and is therefore an XdmValueMBS in its own right, and may also participate as one item within a sequence value.
The XdmNodeMBS interface exposes basic properties of the node, such as its name, its string value, and its typed value.
Note that node identity cannot be inferred from object identity. The same node may be represented by different XdmNodeMBS instances at different times, or even at the same time.
Subclass of the XdmItemMBS class.
- 10 properties
- property AttributeCount as Integer
- property BaseUri as String
- property ChildCount as Integer
- property ColumnNumber as Integer
- property LineNumber as Integer
- property LocalName as String
- property NodeKind as Integer
- property NodeName as String
- property Parent as XdmNodeMBS
- property TypedValue as XdmValueMBS
- 7 methods
- method AttributeNodes as XdmNodeMBS()
- method AttributeValue(Key as String) as String
- method axisNodes(Axis as Integer) as XdmNodeMBS()
- method Child(Index as Integer) as XdmNodeMBS
- method Children as XdmNodeMBS()
- method Constructor Private
- method Constructor(other as XdmNodeMBS)
- 21 constants
Axis
| Constant | Value | Description |
|---|---|---|
| AxisAncestor | 0 |
Ancestor |
| AxisAncestorOrSelf | 1 |
Ancestor Or Self |
| AxisAttribute | 2 |
Attribut |
| AxisChild | 3 |
Child |
| AxisDescendant | 4 |
Descendant |
| AxisDescendantOrSelf | 5 |
Descendant or Self |
| AxisFollowing | 6 |
Following |
| AxisFollowingSibling | 7 |
Following Sibling |
| AxisNamespace | 8 |
Namespace |
| AxisParent | 9 |
Parent |
| AxisPreceding | 10 |
Preceding |
| AxisPrecedingSibling | 11 |
Preceding Sibling |
| AxisSelf | 12 |
Self |
Node Kinds
| Constant | Value | Description |
|---|---|---|
| KindAttribute | 2 |
Attribute node |
| KindComment | 8 |
Comment node |
| KindDocument | 9 |
Document node |
| KindElement | 1 |
Regular element |
| KindNamespace | 13 |
Namespace node |
| KindProcessingInstruction | 7 |
Processing Instruction |
| KindText | 3 |
Text node |
| KindUnknown | 0 |
Unknown or not yet set. |
Super class XdmItemMBS
- 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
- property Handle as Integer
- property Head as XdmItemMBS
- property Parent as Variant
- property RefCount as Integer
- property SequenceSize as Integer
- property toString as String
- property Type as Integer
- 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. |
This class has no sub classes.
Some methods using this class:
- DocumentBuilderMBS.parseXmlFromUri(source as String) as XdmNodeMBS
- SaxonProcessorMBS.parseXmlFromFile(File as FolderItem, validator as SchemaValidatorMBS = nil) as XdmNodeMBS
- SaxonProcessorMBS.parseXmlFromString(content as String, encoding as String = "", validator as SchemaValidatorMBS = nil) as XdmNodeMBS
- SchemaValidatorMBS.validateToNode(sourceFile as String = "") as XdmNodeMBS
- SchemaValidatorMBS.ValidationReport as XdmNodeMBS
- Xslt30ProcessorMBS.compileFromXdmNode(mode as XdmNodeMBS) as XsltExecutableMBS
- Xslt30ProcessorMBS.compileFromXdmNodeAndSave(mode as XdmNodeMBS, filename as String)
- XsltExecutableMBS.transformToFile(source as XdmNodeMBS = nil)
- XsltExecutableMBS.transformToString(source as XdmNodeMBS = nil) as String
- XsltExecutableMBS.transformToValue(source as XdmNodeMBS = nil) as XdmValueMBS
Some properties using for this class:
- SchemaValidatorMBS.SourceNode as XdmNodeMBS
- XdmNodeMBS.Parent as XdmNodeMBS
Some examples using this class:
Some related classes:
- class DocumentBuilderMBS
- class SaxonProcessorMBS
- class SchemaValidatorMBS
- class XdmItemMBS
- class XdmValueMBS
- class Xslt30ProcessorMBS
- class XsltExecutableMBS
The items on this page are in the following plugins: MBS XML Plugin.