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

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support Yes ? Yes ? Yes ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support ? Yes ? Yes Yes ? ?

Document Tags and Contributors

Tags: 
Contributors to this page: ExE-Boss, SphinxKnight, Fredchat, Sheppy, Mgjbot, Takenbot, Ptak82, CitizenK, Dria
Last updated by: ExE-Boss,