public String getPath(XmlComment comment) {
      XmlTag parent = PsiTreeUtil.getParentOfType(comment, XmlTag.class);

      return ((parent != null) && (parent != context)) ? (getPath(parent) + "/comment()")
                                                       : "comment()";
    }
public String getPath(XmlComment comment)