Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Goethes Farbenlehre
gfl-importer
Commits
0a8bb841
Commit
0a8bb841
authored
Feb 26, 2021
by
bettin5@sub.uni-goettingen.de
Browse files
add if no text in new metadata
parent
23a472d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
gfl-plugin/src/main/resources/gfl-indexer.xslt
View file @
0a8bb841
...
...
@@ -571,19 +571,39 @@ Refer to comments in the code to understand the used algorithm.
<xsl:text
disable-output-escaping=
"yes"
>
]]
>
</xsl:text>
</field>
<field
name=
"institution"
>
<xsl:value-of
select=
"//repository/normalize-space()"
/><xsl:text>
,
</xsl:text>
<xsl:value-of
select=
"//institution/normalize-space()"
/><xsl:text>
,
</xsl:text>
<xsl:value-of
select=
"//settlement/normalize-space()"
/><xsl:text>
(
</xsl:text>
<xsl:value-of
select=
"//country/normalize-space()"
/><xsl:text>
)
</xsl:text>
<xsl:if
test=
"//repository != '' "
>
<xsl:value-of
select=
"//repository/normalize-space()"
/><xsl:text>
,
</xsl:text>
</xsl:if>
<xsl:if
test=
"//institution != '' "
>
<xsl:value-of
select=
"//institution/normalize-space()"
/><xsl:text>
,
</xsl:text>
</xsl:if>
<xsl:if
test=
"//settlement != '' "
>
<xsl:value-of
select=
"//settlement/normalize-space()"
/>
</xsl:if>
<xsl:if
test=
"//country != '' "
>
<xsl:text>
(
</xsl:text>
<xsl:value-of
select=
"//country/normalize-space()"
/><xsl:text>
)
</xsl:text>
</xsl:if>
</field>
<field
name=
"shelfmark"
>
<xsl:value-of
select=
"//idno/normalize-space()"
/>
</field>
<field
name=
"script_source"
>
<xsl:value-of
select=
"//supportDesc/extent/text()"
/><xsl:text>
;
</xsl:text>
<xsl:value-of
select=
"//supportDesc/extent/dimensions/height/normalize-space()"
/><xsl:text>
x
</xsl:text>
<xsl:value-of
select=
"//supportDesc/extent/dimensions/width/normalize-space()"
/><xsl:text>
</xsl:text><xsl:value-of
select=
"//supportDesc/extent/dimensions/@unit/normalize-space()"
/><xsl:text>
.
</xsl:text>
<xsl:value-of
select=
"//bindingDesc/normalize-space()"
/>
<xsl:if
test=
"//supportDesc/extent/text() != '' "
>
<xsl:value-of
select=
"//supportDesc/extent/text()"
/>
</xsl:if>
<xsl:if
test=
"//supportDesc/extent/dimensions/height != ''"
>
<xsl:value-of
select=
"//supportDesc/extent/dimensions/height/normalize-space()"
/><xsl:text>
x
</xsl:text>
</xsl:if>
<xsl:if
test=
"//supportDesc/extent/dimensions/width != ''"
>
<xsl:value-of
select=
"//supportDesc/extent/dimensions/width/normalize-space()"
/><xsl:text>
</xsl:text>
</xsl:if>
<xsl:if
test=
"//supportDesc/extent/dimensions/@unit"
>
<xsl:value-of
select=
"//supportDesc/extent/dimensions/@unit/normalize-space()"
/><xsl:text>
.
</xsl:text>
</xsl:if>
<xsl:if
test=
"//bindingDesc != ''"
>
<xsl:value-of
select=
"//bindingDesc/normalize-space()"
/>
</xsl:if>
</field>
<xsl:for-each
select=
"//handNote"
>
<field
name=
"writer"
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment