<?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 html BR  for styling   -->
  <!-- it targets markup of lb elements -->
  <!-- styling depends on the presence and value -->
  <!-- of a rend attirbute on the lb element -->

  <!-- see TEI Guidelines for more on the content model -->
  <!-- see XSLT Recomendation for more on templates -->

  
  <xsl:template match="lb">
    <xsl:choose>
      <xsl:when test="@rend['dbpipe']">
        <xsl:text> || </xsl:text>
      </xsl:when>
      <xsl:otherwise>
        <br/>
      </xsl:otherwise>
    </xsl:choose>  
</xsl:template>

</xsl:transform>
