get text nodes in context