Commit 5adf438b authored by jerome's avatar jerome

rm gnd in doc

parent 8eb2cad0
......@@ -65,7 +65,7 @@ Refer to comments in the code to understand the used algorithm.
<xsl:template match="TEI">
<add>
<doc>
<doc>
<xsl:apply-templates select="teiHeader| text" />
<xsl:for-each select="distinct-values(//@xml:lang)">
<field name="language">
......@@ -73,15 +73,15 @@ Refer to comments in the code to understand the used algorithm.
</field>
</xsl:for-each>
<xsl:apply-templates select="facsimile" />
<xsl:apply-templates select="//body/listBibl" />
<xsl:apply-templates select="//body/listBibl" />
</doc>
<xsl:apply-templates select="text" mode="page_splitting" />
<xsl:apply-templates select="//@ref" />
</add>
</xsl:template>
<xsl:template match="@ref">
<xsl:if test=". != 'gnd:_' and ./parent::name/text() and ./parent::name/@type">
<xsl:if test=". != 'gnd:_' and ./parent::name/text() and ./parent::name/@type and starts-with(., 'gnd:') ">
<doc>
<field name="entity_name">
<xsl:value-of select="./parent::name/normalize-space()"/>
......@@ -367,8 +367,6 @@ Refer to comments in the code to understand the used algorithm.
</xsl:for-each>
</xsl:template>
<xsl:template match="text">
<xsl:choose>
<xsl:when test="./@xml:id">
......@@ -443,13 +441,6 @@ Refer to comments in the code to understand the used algorithm.
</field>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="//name/@ref ">
<xsl:if test=". != 'gnd:_' and ./parent::name/text() and ./parent::name/@type">
<field name="entitys_in_documents">
<xsl:value-of select="./normalize-space()"/>
</field>
</xsl:if>
</xsl:for-each>
</xsl:template>
<xsl:template match="body | div" mode="text_only">
......
#Written by CorePropertiesLocator
#Thu Apr 16 08:14:55 UTC 2020
#Wed Apr 22 08:17:07 UTC 2020
schema=schema.xml
dataDir=data
name=gfloffline
name=gfl
config=solrconfig.xml
#Written by CorePropertiesLocator
#Thu Apr 16 08:14:55 UTC 2020
#Wed Apr 22 08:17:07 UTC 2020
schema=schema.xml
dataDir=data
name=gfl
name=gfloffline
config=solrconfig.xml
Markdown is supported
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