@Override
    public XmlTag getParentTag() {
        final PsiElement parent = getParent();
        if(parent instanceof XmlTag) return (XmlTag)parent;
        return null;
    }
@Override
    public XmlTag getParentTag()