Commit dc9d0502 authored by bettin5@sub.uni-goettingen.de's avatar bettin5@sub.uni-goettingen.de
Browse files

add new field article_title that contain parent-title

parent b7ae0952
......@@ -116,6 +116,7 @@ Refer to comments in the code to understand the used algorithm.
</xsl:if>
</xsl:template>
<!-- scraping the gnd database for meta data the result is marc21 with works with numbers as identifyer -->
<xsl:template match="marc:record">
<xsl:choose>
<xsl:when test="marc:datafield[@tag='100']">
......@@ -258,7 +259,6 @@ Refer to comments in the code to understand the used algorithm.
</field>
</xsl:for-each>
<!-- TITLE -->
<xsl:for-each select="title">
<xsl:choose>
<xsl:when test="./@type = 'main'">
......@@ -649,6 +649,9 @@ Refer to comments in the code to understand the used algorithm.
<field name="article_id">
<xsl:value-of select="$context/@xml:id" />
</field>
<field name="article_title">
<xsl:value-of select="//title[@type='desc']/normalize-space()" />
</field>
<field name="doctype">page</field>
<field name="page_number">
<xsl:value-of select="$pageNumber" />
......
......@@ -91,6 +91,7 @@
<!-- for doctype 'page' -->
<field name="article_id" type="string" />
<field name="article_title" type="string" />
<field name="page_number" type="int" />
<field name="html_page" type="text_de" multiValued="false" />
<field name="image_ids" type="string" multiValued="true"/>
......
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