tostring to textnode