
<xsl:stylesheet version="2.0"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

 <xsl:output method="html" encoding="utf-8" version="4.0" doctype-system="http://www.w3.org/TR/html4/strict.dtd"
  doctype-public="-//W3C//DTD HTML 4.01//EN"></xsl:output>
 <xsl:include href="match-div4sMar24no_ns.xsl"/>
 
 <xsl:include href="match-segsMar24No_ns.xsl"/>
 
   
<xsl:template match="/">
<xsl:apply-templates></xsl:apply-templates></xsl:template>

<xsl:template match="div1">
<html><head><link rel="stylesheet" type="text/css" href="scholiaEurFullMar29.css" /><title>Euripidean
   Scholia Demonstration Edition: <xsl:value-of
      select="@xml:id"></xsl:value-of></title></head><body><h2><xsl:value-of
         select="@xml:id"></xsl:value-of></h2><hr/>
<xsl:apply-templates  />
</body></html>
</xsl:template>
   

   <xsl:template match="div2"><xsl:if test="@type='scholia'"><xsl:apply-templates></xsl:apply-templates><hr/></xsl:if>
   </xsl:template>

   <xsl:template match="div3">
    <xsl:if test="(@type='vet') or (@type='vetThom') or (@type='vetMosch') or (@type='vetMoschThom') "><div class="sch"><xsl:apply-templates  /><hr/></div></xsl:if>
    
   </xsl:template>

   
 <xsl:template match="p">
  <xsl:choose>
   <xsl:when test="name(parent)='refsDecl'"></xsl:when> 
   <xsl:when test="(../@type='argText') or (../@type='dramPersText')"><p class="arg"><xsl:apply-templates></xsl:apply-templates></p>
   </xsl:when>
   
   <xsl:otherwise><xsl:apply-templates></xsl:apply-templates></xsl:otherwise>
  </xsl:choose>
  
 </xsl:template>


<xsl:template match="head">
   <xsl:choose><xsl:when test="@type='outer'"><h3><xsl:value-of select="."></xsl:value-of ></h3></xsl:when>
      <xsl:otherwise><h4>Arg. <xsl:value-of select="../../@n"></xsl:value-of>: 
      <xsl:value-of select="."></xsl:value-of></h4></xsl:otherwise></xsl:choose>
</xsl:template>

 <xsl:template match="s">
  <xsl:choose><xsl:when test="../../@type='metrScheme'"><span class="sentNo"><sup><xsl:value-of
   select="@n"></xsl:value-of></sup></span><xsl:apply-templates></xsl:apply-templates></xsl:when
   ><xsl:otherwise><span class="sentNo"><sup><xsl:value-of
    select="@n"></xsl:value-of></sup></span><xsl:value-of
     select="."></xsl:value-of>&#160;</xsl:otherwise></xsl:choose>
 </xsl:template>   
 <xsl:template match="title" />
 <xsl:template match="author" />
 <xsl:template match="date" />
 <xsl:template match="sourceDesc" />
 <xsl:template match="refsDecl" />
 <xsl:template match="metrDecl" />
 <xsl:template match="metSym" />
 <xsl:template match="language" />  

</xsl:stylesheet>


