This will create fields as rows, in a csv. Does that help?

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text" encoding="iso-8859-1"/>

<xsl:strip-space elements="*" />

<xsl:template match="/*/child::*">
<xsl:for-each select="child::*">
<xsl:if test="position() != last()">"<xsl:value-of select="normalize-space(.)"/>",    </xsl:if>
<xsl:if test="position()  = last()">"<xsl:value-of select="normalize-space(.)"/>"<xsl:text>&#xD;</xsl:text>
</xsl:if>
</xsl:for-each>
</xsl:template>

</xsl:stylesheet>

http://stackoverflow.com/questions/365312/xml-to-csv-using-xslt


On Wed, Jul 31, 2013 at 2:17 PM, Michele R Combs <[log in to unmask]> wrote:
Anybody have a style sheet that does this?

Michele
+++++++++++++++
Michele Combs
Lead Archivist
Special Collections Research Center
Syracuse University Libraries
315-443-2081
[log in to unmask]
scrc.syr.edu
library-blog.syr.edu/scrc