Add function

Add XSLT function.
Delete several XSLT templates and procedures.