get text content of text node