From http://stackoverflow.com/questions/15546456/xsl-generating-csv