CMS-2813 Show detailed xslt rendering exceptions. Refactored xslt for better overview.