XSLT2 function support

Adding XSLT2 function support.