<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version="1.0">

  <!-- blogTEI - Francois Lachance - TEIblog-->

  <!-- this is a template to include in a XSLT file -->
  <!-- it is desiged to toggle between character options  -->
  <!-- it targets markup of c elements -->
  <!-- with exclude attributes whose value guides output -->

  <!-- see TEI Guidelines for more on the content model -->
  <!-- see XSLT Recomendation for more on xsl:choose -->
  <!-- see XSLT Recomendation for more on modes and templates -->

  


  <xsl:template match="c">
    <xsl:if test="@exclude='plus'">
      <xsl:value-of select="."/>
    </xsl:if> 
    <xsl:if test="@exclude='dash'">dash
    </xsl:if>
  </xsl:template>

</xsl:stylesheet>
