@Override
    @NotNull
    public String getTextStringValue(Object txt) {

        if (txt instanceof XmlText) {
          return ((XmlText)txt).getValue();
        }
        return txt instanceof PsiElement ? ((PsiElement)txt).getText() : txt.toString();
    }
@Override
    @NotNull
    public String getTextStringValue(Object txt)