Improve string handling in xsl back calls