protected boolean isTextNode(IElementType nodeType) {
    return nodeType == XmlElementType.XML_TEXT ||
           nodeType == XmlElementType.HTML_RAW_TEXT;
  }
protected boolean isTextNode(IElementType nodeType)