Skip to content

Commit

Permalink
#658 Replaced usage of ThUniBibUtils by Utilities class
Browse files Browse the repository at this point in the history
  • Loading branch information
Possommi committed Nov 29, 2024
1 parent 915d1d8 commit 80130e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions common/src/main/resources/xsl/thunibib-solr.xsl
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:ThUniBibUtils="xalan://de.uni_jena.thunibib.user.ThUniBibUtils"
xmlns:mods="http://www.loc.gov/mods/v3"
xmlns:utilities="xalan://de.uni_jena.thunibib.Utilities"
xmlns:xalan="http://xml.apache.org/xalan"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
exclude-result-prefixes="ThUniBibUtils mods xalan xsl">
exclude-result-prefixes="mods utilities xalan xsl">

<xsl:import href="xslImport:solr-document:thunibib-solr.xsl"/>

Expand All @@ -15,7 +15,7 @@
</xsl:template>

<xsl:template match="//mods:mods/mods:name/mods:nameIdentifier[@type='connection']" mode="thunibib-solr-fields">
<xsl:variable name="leadid-scoped" select="ThUniBibUtils:getLeadId('id_connection', .)"/>
<xsl:variable name="leadid-scoped" select="utilities:getLeadId('id_connection', .)"/>

<field name="leadid.scoped">
<xsl:value-of select="$leadid-scoped"/>
Expand Down

0 comments on commit 80130e7

Please sign in to comment.