add code to extract text content from markup and into context object/tree