<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">

<xsl:template match="/book">
  <html>
  <body>

  <xsl:for-each select="song">
      <h2><xsl:value-of select="@index"></xsl:value-of></h2>
  <xsl:for-each select="block">
      <xsl:if test="@type = 'vers'">  
      	<xsl:value-of select="@index"></xsl:value-of>.
      </xsl:if>
      <xsl:if test="@type = 'chorus'">
      	<xsl:text disable-output-escaping="yes">&lt;blockquote&gt; </xsl:text>
      </xsl:if>
      <xsl:for-each select="line">
	<xsl:value-of select="node()"/>
	  <font size="2"><xsl:value-of select="content"/></font>
	  <br/>
	  </xsl:for-each>		
      <xsl:if test="@type = 'chorus'">
      	<xsl:text disable-output-escaping="yes">&lt;/blockquote&gt; </xsl:text>
      </xsl:if>
      <xsl:if test="@type = 'vers'">
	<br/>	  
      </xsl:if>
  </xsl:for-each>

  </xsl:for-each>
</body>
  </html>
</xsl:template>

</xsl:stylesheet>
