add xsl external function 'replace'