-<xsl:template exist:id="1.2" match="/">
-<html exist:id="1.2.2">
-<head exist:id="1.2.2.1">
-<title exist:id="1.2.2.1.1">
<xsl:value-of exist:id="1.2.2.1.1.1" select="PLAY/TITLE"/>
</title>
<link exist:id="1.2.2.1.2" rel="stylesheet" type="text/css" href="shakes.css"/>
</head>
-<body exist:id="1.2.2.2" bgcolor="#ffffff">
<xsl:apply-templates exist:id="1.2.2.2.2"/>
</body>
</html>
</xsl:template>
-<xsl:template exist:id="1.3" match="PLAY/TITLE">
-<h1 exist:id="1.3.2">
<xsl:apply-templates exist:id="1.3.2.1"/>
</h1>
</xsl:template>
-<xsl:template exist:id="1.4" match="PLAY">
-<html exist:id="1.4.2">
<xsl:apply-templates exist:id="1.4.2.1" select="TITLE"/>
<xsl:apply-templates exist:id="1.4.2.2" select="PLAYSUBT"/>
<xsl:apply-templates exist:id="1.4.2.3" select="FM"/>
-<p exist:id="1.4.2.4">
<b exist:id="1.4.2.4.1">Table of Contents</b>
</p>
-<ul exist:id="1.4.2.5">
-<xsl:for-each exist:id="1.4.2.5.1" select="PERSONAE|ACT">
-<li exist:id="1.4.2.5.1.2">
-<a exist:id="1.4.2.5.1.2.1" href="#{generate-id()}">
<xsl:value-of exist:id="1.4.2.5.1.2.1.2" select="TITLE"/>
</a>
</li>
-<ul exist:id="1.4.2.5.1.3">
-<xsl:for-each exist:id="1.4.2.5.1.3.1" select="SCENE">
-<li exist:id="1.4.2.5.1.3.1.2">
-<a exist:id="1.4.2.5.1.3.1.2.1" href="#{generate-id()}">
<xsl:value-of exist:id="1.4.2.5.1.3.1.2.1.2" select="TITLE"/>
</a>
</li>
</xsl:for-each>
</ul>
</xsl:for-each>
</ul>
<xsl:apply-templates exist:id="1.4.2.6" select="PERSONAE"/>
<xsl:apply-templates exist:id="1.4.2.7" select="ACT"/>
</html>
</xsl:template>
-<xsl:template exist:id="1.5" match="FM">
-<blockquote exist:id="1.5.2">
<xsl:apply-templates exist:id="1.5.2.1"/>
</blockquote>
</xsl:template>
-<xsl:template exist:id="1.6" match="PERSONAE">
<hr exist:id="1.6.2"/>
-<h2 exist:id="1.6.3">
-<a exist:id="1.6.3.1">
-<xsl:attribute exist:id="1.6.3.1.1" name="name">
<xsl:value-of exist:id="1.6.3.1.1.2" select="generate-id()"/>
</xsl:attribute>
<xsl:value-of exist:id="1.6.3.1.2" select="TITLE"/>
</a>
</h2>
-<table exist:id="1.6.4" border="0" cellpadding="5">
<xsl:apply-templates exist:id="1.6.4.3" select="PERSONA|PGROUP"/>
</table>
</xsl:template>
-<xsl:template exist:id="1.7" match="ACT">
<hr exist:id="1.7.2"/>
-<h1 exist:id="1.7.3">
-<a exist:id="1.7.3.1">
-<xsl:attribute exist:id="1.7.3.1.1" name="name">
<xsl:value-of exist:id="1.7.3.1.1.2" select="generate-id()"/>
</xsl:attribute>
<xsl:value-of exist:id="1.7.3.1.2" select="TITLE"/>
</a>
</h1>
<xsl:apply-templates exist:id="1.7.4" select="SCENE"/>
</xsl:template>
-<xsl:template exist:id="1.8" match="SCENE">
-<h3 exist:id="1.8.2">
-<a exist:id="1.8.2.1">
-<xsl:attribute exist:id="1.8.2.1.1" name="name">
<xsl:value-of exist:id="1.8.2.1.1.2" select="generate-id()"/>
</xsl:attribute>
<xsl:value-of exist:id="1.8.2.1.2" select="TITLE"/>
</a>
</h3>
<xsl:apply-templates exist:id="1.8.3" select="SPEECH|STAGEDIR"/>
</xsl:template>
-<xsl:template exist:id="1.9" match="SPEECH">
-<table exist:id="1.9.2" border="0" cellpadding="5" cellspacing="5" width="100%">
-<tr exist:id="1.9.2.5">
-<td exist:id="1.9.2.5.1" width="20%" valign="top">
-<div exist:id="1.9.2.5.1.3" class="speaker">
<xsl:apply-templates exist:id="1.9.2.5.1.3.2" select="SPEAKER"/>
</div>
</td>
<td exist:id="1.9.2.5.2" width="4%"/>
-<td exist:id="1.9.2.5.3" width="76%" valign="top">
-<verse exist:id="1.9.2.5.3.3">
<xsl:apply-templates exist:id="1.9.2.5.3.3.1" select="LINE|STAGEDIR"/>
</verse>
</td>
</tr>
</table>
</xsl:template>
-<xsl:template exist:id="1.10" match="SPEAKER">
<xsl:value-of exist:id="1.10.2" select="text()"/>
<br exist:id="1.10.3"/>
</xsl:template>
-<xsl:template exist:id="1.11" match="LINE">
<xsl:apply-templates exist:id="1.11.2"/>
<br exist:id="1.11.3"/>
</xsl:template>
-<xsl:template exist:id="1.12" match="LINE/STAGEDIR">
[
-<b exist:id="1.12.3">
<xsl:apply-templates exist:id="1.12.3.1"/>
</b>
]
</xsl:template>
-<xsl:template exist:id="1.13" match="SCENE/STAGEDIR">
-<tr exist:id="1.13.2">
-<td exist:id="1.13.2.1" colspan="3">
-<b exist:id="1.13.2.1.2">
<xsl:apply-templates exist:id="1.13.2.1.2.1"/>
</b>
</td>
</tr>
</xsl:template>
-<xsl:template exist:id="1.14" match="SUBHEAD">
-<tr exist:id="1.14.2">
-<td exist:id="1.14.2.1" colspan="3">
-<h4 exist:id="1.14.2.1.2">
<xsl:apply-templates exist:id="1.14.2.1.2.1"/>
</h4>
</td>
</tr>
</xsl:template>
-<xsl:template exist:id="1.15" match="PLAYSUBT">
-<h3 exist:id="1.15.2">
-<em exist:id="1.15.2.1">
<xsl:apply-templates exist:id="1.15.2.1.1"/>
</em>
</h3>
</xsl:template>
-<xsl:template exist:id="1.16" match="SCNDESCR">
-<blockquote exist:id="1.16.2">
<xsl:apply-templates exist:id="1.16.2.1"/>
</blockquote>
</xsl:template>
-<xsl:template exist:id="1.17" match="PERSONAE/PERSONA">
-<tr exist:id="1.17.2">
-<td exist:id="1.17.2.1" colspan="2">
<xsl:apply-templates exist:id="1.17.2.1.2"/>
</td>
</tr>
</xsl:template>
-<xsl:template exist:id="1.18" match="PGROUP">
-<tr exist:id="1.18.2">
-<td exist:id="1.18.2.1">
-<xsl:for-each exist:id="1.18.2.1.1" select="PERSONA">
<xsl:value-of exist:id="1.18.2.1.1.2" select="text()"/>
<br exist:id="1.18.2.1.1.3"/>
</xsl:for-each>
</td>
-<td exist:id="1.18.2.2">
<xsl:value-of exist:id="1.18.2.2.1" select="GRPDESCR"/>
</td>
</tr>
</xsl:template>
-<xsl:template exist:id="1.19" match="P">
-<tt exist:id="1.19.2">
<xsl:apply-templates exist:id="1.19.2.1"/>
</tt>
<br exist:id="1.19.3"/>
</xsl:template>
</xsl:stylesheet>