Added support for Text Node Type