Fix xslt_process() to ensure that it inserts a NULL terminator after the