- both solr.xslt to define licence field for solr

- composer updates
- sytax in SolrDocumentXslt.php
This commit is contained in:
Arno Kaimbacher 2020-05-20 14:41:49 +02:00
parent 671cdb1e4e
commit 780bdbb4a4
4 changed files with 38 additions and 21 deletions

View file

@ -301,6 +301,14 @@
</xsl:element>
</xsl:for-each>
<!-- licences -->
<xsl:if test="/Opus/Rdr_Dataset/Licence">
<xsl:element name="field">
<xsl:attribute name="name">licence</xsl:attribute>
<xsl:value-of select="@Name" />
</xsl:element>
</xsl:for-each>
<!-- series ids and series number per id (modeled as dynamic field) -->
<xsl:for-each select="/Opus/Rdr_Dataset/Series">
<xsl:element name="field">