...
 
Commits (3)
......@@ -317,9 +317,35 @@ Refer to comments in the code to understand the used algorithm.
<field name="type_refs">
<xsl:value-of select="./relatedItem/@type"/>
</field>
<field name="tartget">
<xsl:value-of select="substring-after(./relatedItem//ref/@target, 'http://fbl_bln/Lit/')" />
</field>
<xsl:choose>
<xsl:when test="./relatedItem/ref/@target">
<field name="target">
<xsl:value-of select="./relatedItem/ref/@target" />
</field>
</xsl:when>
<xsl:when test="./relatedItem/bibl/ref/@target">
<field name="target">
<xsl:value-of select="./relatedItem/bibl/ref/@target" />
</field>
</xsl:when>
</xsl:choose>
<!--xsl:choose>
<xsl:when test="./relatedItem/ref/@target">
<xsl:variable name="targetString" select="substring-after(./relatedItem/ref/@target, 'http://fbl_bln/Lit/')"/>
<field name="target">
<xsl:value-of select="$targetString" />
</field>
</xsl:when>
<xsl:when test="./relatedItem/bibl/ref/@target">
<xsl:variable name="targetString_bibl" select="substring-after(./relatedItem/bibl/ref/@target, 'http://fbl_bln/Lit/')"/>
<field name="target">
<xsl:value-of select="$targetString_bibl" />
</field>
</xsl:when>
</xsl:choose-->
<field name="ref_refs">
<xsl:value-of select="./relatedItem//ref/normalize-space()"/>
</field>
......
......@@ -97,7 +97,7 @@
<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="target" 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"/>
......