Uploaded the original version of the XSLT.

See the XSLT for a description of the functions