Subject:To generate a csv file from xml file using xslt Author:Alberto Massari Date:30 Apr 2007 10:08 AM
CSV is not an XML-based format, so you should not use it as the output method. And CSV is not a valid output method for XSLT. If you want to manually generate it, you should use the TEXT output method.
Or a better way would be to generate an XML having a 3-level hierarchy like