Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Goethes Farbenlehre
gfl-importer
Commits
aaf9eda2
Commit
aaf9eda2
authored
Mar 09, 2021
by
bettin5@sub.uni-goettingen.de
Browse files
workaround for meta_lit with out lit dir
parent
69996c07
Changes
1
Hide whitespace changes
Inline
Side-by-side
gfl-plugin/src/main/resources/gfl-indexer.xslt
View file @
aaf9eda2
...
...
@@ -519,7 +519,7 @@ Refer to comments in the code to understand the used algorithm.
<xsl:value-of
select=
"./@xml:id"
/>
</field>
</xsl:when>
<xsl:when
test=
"contains(document-uri(/), 'Lit_Archiv/')"
>
<xsl:when
test=
"contains(document-uri(/), 'Lit_Archiv/')"
>
<!-- TODO delte workaround for ids -->
<field
name=
"id"
>
<xsl:value-of
select=
"substring-after(substring-before(document-uri(/), '.xml'), 'Lit_Archiv/')"
/>
</field>
...
...
@@ -542,7 +542,7 @@ Refer to comments in the code to understand the used algorithm.
</xsl:choose>
<xsl:choose>
<xsl:when
test=
"contains(document-uri(/), 'Lit')"
>
<xsl:when
test=
"contains(document-uri(/), 'Lit')
or contains(document-uri(/), 'fbl_bln_lit.xml')
"
>
<field
name=
"doctype"
>
literature_meta
</field>
</xsl:when>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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