libyang uses its own XPath implementation to evaluate XPath expressions. The implementation completely lacks support for axes. nevertheless, it should always be possible to write equivalent expressions without the use of axes.