Skip to content

Commit

Permalink
feat(at): place names in info box now also link to the search page.
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffroy-noel-ddh committed Jun 13, 2024
1 parent 1ea4e9c commit 230d91a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion responses/at-tei-to-tei.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,12 @@
<xsl:copy>
<xsl:apply-templates select="@*"/>
<xsl:apply-templates />
<note type="entity"><xsl:value-of select="key('places', @ref, $places)/(tei:placeName|tei:geogName)[@type='label']/text()"/></note>
<note type="entity">
<p>
<xsl:attribute name="ref"><xsl:value-of select="@ref"/></xsl:attribute>
<xsl:value-of select="key('places', @ref, $places)/(tei:placeName|tei:geogName)[@type='label']/text()"/>
</p>
</note>
</xsl:copy>
</xsl:template>

Expand Down

0 comments on commit 230d91a

Please sign in to comment.