Skip to content
Snippets Groups Projects
Commit d6037dc2 authored by David Maus's avatar David Maus
Browse files

Berücksichtige wiederholtes <author>

parent 3f318abc
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,9 @@
</dd>
{% if record.creator_display %}
<dt>Verfasser</dt>
<dd>{{ record.creator_display.0 }}</dd>
{% for name in record.creator_display %}
<dd>{{ name }}</dd>
{% endfor %}
{% endif %}
{% if record.abstract %}
<dt>Zusammenfassung</dt>
......
......@@ -24,10 +24,6 @@
<xsl:if test="//tei:origDate">
<xsl:copy-of select="fun:field('date_display', 1.0, fun:date(//tei:origDate))"/>
</xsl:if>
<xsl:if test="id(substring(//tei:author/@ref, 2))/tei:persName/@key">
<xsl:variable name="gndId" select="id(substring(//tei:author/@ref, 2))/tei:persName/@key"/>
<xsl:copy-of select="fun:field('creator', 1.0, concat('gnd', $gndId))"/>
</xsl:if>
<xsl:copy-of select="fun:field('creator', 1.0, //tei:author)"/>
<xsl:copy-of select="fun:field('creator_display', 1.0, //tei:author)"/>
<xsl:copy-of select="fun:field('contributor', 1.0, //tei:respStmt/tei:name)"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment