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

<!--Facing-page (synoptic) presentation of original text and translation; no notes-->


<xsl:template match="/">
<html>
<head>
<xsl:for-each select="collection">
<title><xsl:value-of select="title"/></title>
</xsl:for-each>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
<font face="Gentium, Lucida Grande, Arial Unicode MS">
<xsl:for-each select="collection">
<h2><xsl:value-of select="title"/></h2>
</xsl:for-each>
<xsl:for-each select="collection/text">
<table bgcolor="white" border="0">
<tr bgcolor="salmon">
<th align="left" colspan="2"><xsl:value-of select="title"/></th>
</tr>

<tr>
<td colspan="2">
<xsl:for-each select="soundfile">
<embed src="{.}.mp3" autostart="no" height="12"></embed>
<!--  <embed src="{.}.wav" autostart="no" height="12"></embed>  -->
</xsl:for-each>
</td>
</tr>
<xsl:for-each select="line">

<tr>
<td><font face="Gentium" color="maroon"><xsl:value-of select="tgl"/></font></td>

<td><i><xsl:value-of select="eg"/></i></td>

</tr>
<!--selects any and all note elements and gives each a line

    <xsl:for-each select="note">
<tr>
<td colspan="1"><font face="Lucida Grande"><xsl:value-of select="."/></font></td>
<td colspan="1"><i>Note</i></td>
</tr>
</xsl:for-each>

 -->
<!--spacing line-->
<tr>
<td colspan="2"><p></p></td>
</tr>
</xsl:for-each>
</table>
<br></br>
<br></br>
<br></br>
</xsl:for-each>
</font>
</body>
</html>
</xsl:template>
</xsl:stylesheet>