IDEX-1530: used new text node instead of Node#setTextContent
IDEX-1530: fetch element text from nodes instead of Node#getTextContent