@Override
            protected XmlTag getAnchor(@NotNull PsiElement element) {
                return PsiTreeUtil.getContextOfType(element, XmlTag.class, isXPath);
            }
@Override
            protected XmlTag getAnchor(@NotNull PsiElement element)