PhoenixmlDb.Core
XdmNodeKind
Enumerates the seven node kinds defined by the XQuery Data Model (XDM) specification, plus as a sentinel value.
#XdmNodeKind
Namespace: PhoenixmlDb.Core
Enumerates the seven node kinds defined by the XQuery Data Model (XDM) specification, plus
as a sentinel value.
These correspond to the node kinds in the W3C XQuery and XPath Data Model 3.1 specification. Each kind has different rules for what properties are available (e.g., only XdmNodeKind.Element and XdmNodeKind.Attribute nodes have a IXdmNode.NodeName).
#Fields
| Name | Description |
|---|---|
Attribute
|
An attribute of an element, consisting of a name and a string value. |
Comment
|
An XML comment (<!-- ... -->). |
Document
|
The root node of a document tree. Contains exactly one element child (the document element). |
Element
|
An XML element, which may have attributes, child elements, and text content. |
Namespace
|
A namespace binding on an element. Rarely accessed directly in application code. |
None
|
No node kind (sentinel/default value). |
ProcessingInstruction
|
An XML processing instruction (<?target data?>). |
Text
|
A text node containing character data. |