Commit cc715ccf authored by thorsten.vitt's avatar thorsten.vitt
Browse files

Use author's PND everywhere.

Fixes #14134
parent d2909aec
......@@ -25,7 +25,7 @@
<xsl:param name="editionTitles" tunnel="yes"/>
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:copy-of select="titleStmt"/>
<xsl:apply-templates select="titleStmt"/>
<xsl:copy-of select="publicationStmt"/>
<xsl:copy-of select="$notesStmt"/>
<!-- Theres's no extra template four sourcDesc. Elements are copied down to titleStmt and the publicationStmt -->
......
......@@ -157,7 +157,7 @@
select="document('Autoren/unique-pnd-manual.xml')/a:authors//a:author[@name eq $author]/@unique-pnd"/>
<xsl:variable name="pnd"
select="document('Autoren/authors+pnd-matches.xml')/a:authors//a:author[@name eq $author]/@unique-pnd"/>
<xsl:template match="author" name="author">
<xsl:template match="author" name="author" mode="#all">
<author>
<xsl:copy-of select="@*"/>
<xsl:attribute name="key">
......
......@@ -22,7 +22,13 @@
</generic>
<work>
<agent role="author">
<xsl:value-of select="$header/tei:fileDesc/titleStmt/tei:author"/>
<xsl:variable name="author">
<xsl:sequence select="$header/tei:fileDesc/titleStmt/tei:author"/>
</xsl:variable>
<xsl:if test="$author/*/@key">
<xsl:attribute name="id" select="$author/*/@key"/>
</xsl:if>
<xsl:value-of select="$author"/>
</agent>
<xsl:if test="$header/tei:profileDesc/tei:creation/tei:date">
<xsl:call-template name="dateFormat">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment