@Override
  public String getPresentableText() {
    final XmlTag element = getElement();
    if (element == null) {
      return StructureViewBundle.message("node.structureview.invalid");
    }
    String id = element.getAttributeValue(ID_ATTR_NAME);
    if (id == null) {
      id = element.getAttributeValue(NAME_ATTR_NAME);
    }
    id = toCanonicalForm(id);
    return id != null ? id + ':' + element.getLocalName() : element.getName();
  }
@Override
  public String getPresentableText()