@Override
  @NotNull
  public VariableContext getVariableContext() {
    return new XsltVariableContext() {
      @Override
      @Nullable
      protected XmlTag getContextTagImpl(XPathElement element) {
        return PsiTreeUtil.getParentOfType(getContextElement(), XmlTag.class, false);
      }

      @Override
      public IntentionAction @NotNull [] getUnresolvedVariableFixes(XPathVariableReference reference) {
        return IntentionAction.EMPTY_ARRAY;
      }
    };
  }
@Override
  @NotNull
  public VariableContext getVariableContext()