Added XSLT function