<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>
  <xsl:output method="text"/>
  <xsl:strip-space elements="*"/>

  <xsl:template match="/">
    <xsl:apply-templates/>
  </xsl:template>

  <xsl:template match="sheet">
=== Start of <xsl:value-of select="@name"/> ===

<xsl:apply-templates/>=== End of <xsl:value-of select="@name"/> ===
</xsl:template>

  <xsl:template match="row"><xsl:apply-templates/><xsl:text>&#xD;&#xA;</xsl:text></xsl:template>

  <xsl:template match="cell"><xsl:if test="position() > 1">&#9;</xsl:if>"<xsl:call-template name="ReplaceString">
      <xsl:with-param name="text" select="."/>
      <xsl:with-param name="from">"</xsl:with-param>

      <xsl:with-param name="to">""</xsl:with-param>
    </xsl:call-template>"</xsl:template>

  <!-- Source: http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/65426 -->
  <xsl:template name="ReplaceString">
    <xsl:param name="text"/>
    <xsl:param name="from"/>
    <xsl:param name="to"/>

    <xsl:choose>
    <xsl:when test="contains($text, $from)">
       <xsl:variable name="before" select="substring-before($text, $from)"/>
       <xsl:variable name="after" select="substring-after($text, $from)"/>
       <xsl:variable name="prefix" select="concat($before, $to)"/>
       <xsl:value-of select="$before"/>
       <xsl:value-of select="$to"/>
       <xsl:call-template name="ReplaceString">
         <xsl:with-param name="text" select="$after"/>

         <xsl:with-param name="from" select="$from"/>
         <xsl:with-param name="to" select="$to"/>
       </xsl:call-template>
    </xsl:when>
    <xsl:otherwise>
            <xsl:value-of select="$text"/>
    </xsl:otherwise>
    </xsl:choose>
  </xsl:template>
</xsl:stylesheet>