Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DDA
dda-wizard
Commits
145ab9f7
Commit
145ab9f7
authored
Jul 22, 2022
by
Fischer, Tim
Browse files
Fixed transformation for online first documents
parent
8d8dfeb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/resources/xslt/stss-oai_dc-2-xmlbundle.xslt
View file @
145ab9f7
...
...
@@ -230,7 +230,7 @@
</xsl:if>
</xsl:template>
<xsl:template
match=
"dc:source[@xml:lang='en-US']"
>
<xsl:template
match=
"dc:source[@xml:lang='en-US']
[matches(text(), 'No.')]
"
>
<xsl:variable
name=
"issued"
select=
"substring-before(substring-after(text(),'('),')')"
/>
<xsl:if
...
...
@@ -265,6 +265,15 @@
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template
match=
"dc:source[@xml:lang='en-US'][matches(text(), 'Online First')]"
>
<xsl:call-template
name=
"new-metadatum"
>
<xsl:with-param
name=
"key"
select=
"'dc.date.issued'"
/>
<xsl:with-param
name=
"language"
select=
"''"
/>
<xsl:with-param
name=
"value"
select=
"'Online First'"
/>
</xsl:call-template>
</xsl:template>
<xsl:template
match=
"dc:identifier[matches(text(), '^10\..*')]"
>
...
...
Write
Preview
Supports
Markdown
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