Skip to main content

Enumeration: ItemKind

Defined in: lang-xquery/src/ast/item-type.ts:6

XQuery/XPath item kind test value used in ASTItemType.

Enumeration Members

ATTRIBUTE

ATTRIBUTE: "attribute"

Defined in: lang-xquery/src/ast/item-type.ts:22

Matches an attribute node (attribute()).


COMMENT

COMMENT: "comment"

Defined in: lang-xquery/src/ast/item-type.ts:16

Matches a comment node (comment()).


DOCUMENT

DOCUMENT: "document-node"

Defined in: lang-xquery/src/ast/item-type.ts:26

Matches a document node with no content constraint (document-node()).


DOCUMENT_ELEMENT

DOCUMENT_ELEMENT: "document-node element"

Defined in: lang-xquery/src/ast/item-type.ts:28

Matches a document node whose content satisfies an element test (document-node(element(...))).


DOCUMENT_SCHEMA_ELEMENT

DOCUMENT_SCHEMA_ELEMENT: "document-node schema-element"

Defined in: lang-xquery/src/ast/item-type.ts:30

Matches a document node whose content satisfies a schema-element test (document-node(schema-element(...))).


ELEMENT

ELEMENT: "element"

Defined in: lang-xquery/src/ast/item-type.ts:24

Matches an element node (element()).


FUNCTION

FUNCTION: "function"

Defined in: lang-xquery/src/ast/item-type.ts:14

Matches a function item (function(*)).


ITEM

ITEM: "item"

Defined in: lang-xquery/src/ast/item-type.ts:8

Matches any item (item()).


NAMESPACE_NODE

NAMESPACE_NODE: "namespace-node"

Defined in: lang-xquery/src/ast/item-type.ts:18

Matches a namespace node (namespace-node()).


NODE

NODE: "node"

Defined in: lang-xquery/src/ast/item-type.ts:10

Matches any node (node()).


PROCESSING_INSTRUCTION

PROCESSING_INSTRUCTION: "processing-instruction"

Defined in: lang-xquery/src/ast/item-type.ts:20

Matches a processing-instruction node (processing-instruction()).


SCHEMA_ATTRIBUTE

SCHEMA_ATTRIBUTE: "schema-attribute"

Defined in: lang-xquery/src/ast/item-type.ts:34

Matches a schema-validated attribute node (schema-attribute()).


SCHEMA_ELEMENT

SCHEMA_ELEMENT: "schema-element"

Defined in: lang-xquery/src/ast/item-type.ts:32

Matches a schema-validated element node (schema-element()).


TEXT

TEXT: "text"

Defined in: lang-xquery/src/ast/item-type.ts:12

Matches a text node (text()).