self

The self axis indicates the context node itself. It can be abbreviated as a single period (.).

Specifications

Specification Status Comment
XPath 3.1
The definition of 'self' in that specification.
Recommendation
XPath 3.0
The definition of 'self' in that specification.
Recommendation
XPath 2.0
The definition of 'self' in that specification.
Recommendation
XPath 1.0
The definition of 'self' in that specification.
Recommendation Initial definition.

Browser compatibility

BCD tables only load in the browser