replaced deprecated nodeValue properties