I got sick of fining a clean way to keep the xslt pars of my scripts nicely organized with the bash parts, so... I found a way to make then executable. The downside is that the xml is no longer valid as the first line is a POSIX thingy to that says what program should handle the file. That's fine with me as many editing tools are able to cope.
Make this script executable and put it in your PATH.
Then you can just have an xsl file like this and also chmod it as executable
This particular xslt file takes a JIRA xml file and makes an email out of it that can be forwarded to a mailing list. You would execute it like:
./jiraissues.xsl theJiraReport.xml
