OptionalelementTest: ElementTestReadonlynameHuman-readable name of the item type
ReadonlynodeThe node kind being tested Possible values: 'element', 'attribute', 'text', 'comment', 'processing-instruction', 'document-node'
Optional ReadonlynodeOptional name constraint for the node
Optional ReadonlynodeOptional type constraint for the node
Optional ReadonlyisIndicates if name is a wildcard (*)
DocumentNodeTest: document-node() or document-node(element(...))
Matches the document node (root). Can optionally specify a required element test.
Examples: