@Nullable
 public XmlElement getContextElement() {
   return myContextElement.getElement();
 }
 private boolean matchContextType() {
   final PsiFile file = myContextElement.getContainingFile();
   return file != null
       && XsltSupport.getXsltLanguageLevel(file).getXPathVersion()
           == getContextType().getVersion();
 }