Commit 8f49b867 authored by bettin5's avatar bettin5

fields for literature_refs

parent 3a0a7b14
......@@ -312,6 +312,25 @@ Refer to comments in the code to understand the used algorithm.
<xsl:text disable-output-escaping="yes">]]&gt;</xsl:text>
</field>
<xsl:apply-templates select=".//note[@type='com']" />
<xsl:for-each select="//listBibl/bibl/relatedItem">
<xsl:if test="@type='print'">
<field name="type_refs">
<xsl:value-of select="./@type"/>
</field>
<field name="tartget">
<xsl:value-of select="./bibl/ref/@target"/>
</field>
<field name="ref_refs">
<xsl:value-of select="./bibl/ref/normalize-space()"/>
</field>
<field name="bibl_refs">
<xsl:value-of select="./bibl/text()/normalize-space()"/>
</field>
<field name="literature_refs">
<xsl:value-of select="./normalize-space()"/>
</field>
</xsl:if>
</xsl:for-each>
</xsl:template>
<xsl:template match="body | div" mode="text_only">
......
......@@ -74,8 +74,9 @@
<field name="article_id" 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"/>
<field name="image_urls" type="string" multiValued="true"/>
<field name="image_ids" type="string" multiValued="true"/>
<field name="image_urls" type="string" multiValued="true"/>
<!-- for doctype 'article' -->
<field name="number_of_pages" type="int" />
......@@ -95,6 +96,12 @@
<field name="free_keyword" type="text_de" multiValued="true" />
<field name="note_comment" type="text_de" multiValued="true" />
<field name="image_id" type="string" multiValued="true"/>
<field name="type_refs" type="string" multiValued="true"/>
<field name="tartget" type="string" multiValued="true"/>
<field name="ref_refs" type="string" multiValued="true"/>
<field name="bibl_refs" type="string" multiValued="true"/>
<field name="literature_refs" type="string" multiValued="true"/>
<field name="literature_refs" type="string" multiValued="true"/>
<field name="all_header_fields" type="text_de" 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