Translated cdata/attr unescape functions to NIF