Skip to content

Commit

Permalink
Merge pull request #480 from fsteimke/479-biblioentry-label
Browse files Browse the repository at this point in the history
Changed determination of label for biblioentry / bibliomixed
  • Loading branch information
ndw authored Sep 21, 2024
2 parents b377c8c + f3b2c55 commit 9de44bb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main/xslt/modules/xref.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,7 @@

<xsl:template match="db:bibliomixed|db:biblioentry" mode="m:crossref-label">
<xsl:choose>
<xsl:when test="node()[1]/self::db:abbrev
or (node()[1]/text()
and normalize-space(node()[1]) = ''
and node()[2]/self::db:abbrev)">
<xsl:when test="*[1]/self::db:abbrev">
<xsl:apply-templates select="db:abbrev[1]"/>
</xsl:when>
<xsl:when test="@xml:id">
Expand Down

0 comments on commit 9de44bb

Please sign in to comment.