Transforms alias text node to new alias element name.