Commit 625958aa authored by bettin5's avatar bettin5
Browse files

change target back to full link

parent 750cb9ef
...@@ -317,8 +317,20 @@ Refer to comments in the code to understand the used algorithm. ...@@ -317,8 +317,20 @@ Refer to comments in the code to understand the used algorithm.
<field name="type_refs"> <field name="type_refs">
<xsl:value-of select="./relatedItem/@type"/> <xsl:value-of select="./relatedItem/@type"/>
</field> </field>
<xsl:choose> <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:when test="./relatedItem/ref/@target">
<xsl:variable name="targetString" select="substring-after(./relatedItem/ref/@target, 'http://fbl_bln/Lit/')"/> <xsl:variable name="targetString" select="substring-after(./relatedItem/ref/@target, 'http://fbl_bln/Lit/')"/>
<field name="target"> <field name="target">
...@@ -331,7 +343,7 @@ Refer to comments in the code to understand the used algorithm. ...@@ -331,7 +343,7 @@ Refer to comments in the code to understand the used algorithm.
<xsl:value-of select="$targetString_bibl" /> <xsl:value-of select="$targetString_bibl" />
</field> </field>
</xsl:when> </xsl:when>
</xsl:choose> </xsl:choose-->
<field name="ref_refs"> <field name="ref_refs">
......
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
<field name="note_comment" type="text_de" multiValued="true" /> <field name="note_comment" type="text_de" multiValued="true" />
<field name="image_id" type="string" multiValued="true"/> <field name="image_id" type="string" multiValued="true"/>
<field name="type_refs" 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="ref_refs" type="string" multiValued="true"/>
<field name="bibl_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"/>
......
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