Don't annotate year of book award, but only buchpreis and deutscher_buchpreis
diff --git a/test/test-xml.sh b/test/test-xml.sh
index 9a94772..8a0b1e4 100755
--- a/test/test-xml.sh
+++ b/test/test-xml.sh
@@ -50,7 +50,7 @@
observed=$(xmlstarlet sel --net -t -v "count(/idsCorpus/idsDoc/idsText/idsHeader/fileDesc/publicationStmt/idno[@type='URL' and starts-with(@rend, 'URN;urn:nbn:de:')])" target/dnb18.i5.xml)
assert_eq "$observed" "$min_expected" "for every idno element of type URN, there is also an URL element with @rend starting with 'URN;urn:nbn:de:'"
-observed=$(xmlstarlet sel --net -t -v "count(/idsCorpus/idsDoc/idsText/idsHeader/fileDesc/sourceDesc/biblStruct/note[@type='award'][@subtype='Deutscher Buchpreis 2024'])" target/dnb13.i5.xml)
+observed=$(xmlstarlet sel --net -t -v "count(/idsCorpus/idsDoc/idsText/idsHeader/fileDesc/sourceDesc/biblStruct/note[@type='award'][@subtype='Buchpreis deutscher_buchpreis'])" target/dnb13.i5.xml)
assert_eq "$observed" "1" "award is correctly identified'"
observed=$(xmlstarlet sel --net -t -v "count(/idsCorpus/idsDoc/idsText/idsHeader/fileDesc/sourceDesc/biblStruct/note[@type='award'])" target/dnb18.i5.xml)
diff --git a/xslt/epub2i5.xsl b/xslt/epub2i5.xsl
index bf8e9fb..e2ab62f 100644
--- a/xslt/epub2i5.xsl
+++ b/xslt/epub2i5.xsl
@@ -383,11 +383,10 @@
<biblScope type="volume-title"/>
</monogr>
<xsl:if test="matches($original_path, 'Buchpreis', 'i')">
- <xsl:variable name="bookprize_year" as="xs:string" select="replace($original_path, '.*Buchpreis_?([0-9]{4}).*' , '$1')"/>
<xsl:element name="note">
<xsl:attribute name="type">award</xsl:attribute>
<xsl:attribute name="subtype">
- <xsl:value-of select="concat('Deutscher Buchpreis ', $bookprize_year)"/>
+ <xsl:value-of select="'Buchpreis deutscher_buchpreis'"/>
</xsl:attribute>
</xsl:element>
</xsl:if>