Skip to content

Commit

Permalink
mei/tei2HTML: generalize template for tei:editionStmt to match *:edit…
Browse files Browse the repository at this point in the history
…ionStmt

* move template to ediromOnline_metadata.xsl
  • Loading branch information
bwbohl committed Sep 11, 2024
1 parent 446a251 commit 59dbe73
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 8 additions & 0 deletions add/data/xslt/ediromOnline_metadata.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,14 @@
<xsl:attribute name="class" select="default"/>
</xsl:template>

<!-- TEMPLATES APPLICABLE TO TEI AND MEI -->

<xsl:template match="*:editionStmt">
<xsl:call-template name="makeProperty">
<xsl:with-param name="node" select="."/>
</xsl:call-template>
</xsl:template>

<xsl:template match="*:titleStmt/*:respStmt" mode="plainCommaSep">

<xsl:variable name="key" select="local-name()"/>
Expand Down
7 changes: 0 additions & 7 deletions add/data/xslt/tei/profiles/edirom-header/teiHeader2HTML.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -219,13 +219,6 @@
</xsl:template>


<xsl:template match="tei:editionStmt">
<xsl:call-template name="makeProperty">
<xsl:with-param name="node" select="."/>
</xsl:call-template>
</xsl:template>


<xsl:template match="tei:extent" mode="bibl">
<xsl:call-template name="makeSubProperty">
<xsl:with-param name="node" select="."/>
Expand Down

0 comments on commit 59dbe73

Please sign in to comment.