public String getPath(XmlAttribute attribute) {
      StringBuilder result = new StringBuilder();

      XmlTag parent = attribute.getParent();

      if ((parent != null) && (parent != context)) {
        result.append(getPath(parent));
        result.append("/");
      }

      result.append("@");

      String uri = attribute.getNamespace();
      String prefix = MyPsiUtil.getAttributePrefix(attribute);

      if (uri.isEmpty() || prefix.isEmpty()) {
        result.append(attribute.getLocalName());
      }
      else {
        result.append(attribute.getName());
      }

      return result.toString();
    }
public String getPath(XmlAttribute attribute)