<?xml version="1.0" encoding="utf-8"?>
<xsl:transform 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 create para div for styling   -->
  <!-- it targets markup of p elements -->
  
  <!-- see TEI Guidelines for more on the content model -->
  <!-- see XSLT Recomendation for more on templates -->

  
  <xsl:template match="p">
     
    <xsl:choose>
      
  <xsl:when test="@ana='comment'">
        <div class="intra_comment"><p>
        <text>  :: ADDENDUM ::  </text>
        <xsl:apply-templates/>
      </p></div>
    </xsl:when>
  

  <xsl:otherwise>
        <div class="para"><p>
        <xsl:apply-templates/>
      </p></div>
  </xsl:otherwise>
    
</xsl:choose>    


  </xsl:template>

</xsl:transform>
