In this thread I refer to my last thread: Convert XML to CSV using XSLT - dynamic columns.
The XSLT script in the refered thread works fine but with a large
See an actual example of an XSLT transformation that produces a stylesheet for another XSLT transformation here:
http://dnovatchev.wordpress.com/2006/10/21/a-stylesheet-to-write-xslt-code/