Skip to content

Commit

Permalink
Remove debugging code.
Browse files Browse the repository at this point in the history
  • Loading branch information
hcayless committed Apr 30, 2024
1 parent db72778 commit dbcacb9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions xslt/process-tei.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

<xsl:template match="t:body">
<xsl:variable name="pass1"><xsl:apply-templates select="t:p|t:table|t:list|t:figure" mode="pass1"/></xsl:variable>
<xsl:result-document href="pass1.xml"><xsl:copy-of select="$pass1"/></xsl:result-document>
<!--<xsl:result-document href="pass1.xml"><xsl:copy-of select="$pass1"/></xsl:result-document>-->
<xsl:variable name="pass2"><xsl:apply-templates select="$pass1/*" mode="pass2"/></xsl:variable>
<xsl:result-document href="pass2.xml"><xsl:copy-of select="$pass2"/></xsl:result-document>
<!--<xsl:result-document href="pass2.xml"><xsl:copy-of select="$pass2"/></xsl:result-document>-->
<front>
<docTitle>
<titlePart type="MainTitle"><xsl:apply-templates select="$pass2//t:p[lower-case(@type)='#articletitle']/node()"/></titlePart>
Expand Down Expand Up @@ -250,7 +250,6 @@
</xsl:template>

<xsl:template match="t:p[@type='#bibliography']" mode="epidoc pass3">
<xsl:message>In Bibliography</xsl:message>
<div type='bibliography'>
<listBibl>
<bibl><xsl:apply-templates select="node()"/></bibl>
Expand Down

0 comments on commit dbcacb9

Please sign in to comment.