Error loading stylesheet: Parsing an XSLT stylesheet failed
Upping the xsl stylesheet version number from 1.0 to 1.1 worked for me.
<xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/xsl/Transform">
I had a same problem as you. Finally I found out my solution.
The solution is that open the xsl file with your browser(in my case firefox) and the error may occurs and fix the error.
In my cases, missing an / slashes in the body tag.
You have specified a wrong namespace for XSL:
xmlns:xsl="http://www.w3.org/1999/xsl/Transform"
Instead, you must use:
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
Remember that XML is case-sensitive.
Change namespace declaration to
http://www.w3.org/1999/XSL/Transform