1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<xsl:stylesheet version="1.0"
|
3
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dc="http://purl.org/dc/elements/1.1/"
|
4
|
xmlns:dr="http://www.driver-repository.eu/namespace/dr" xmlns:dri="http://www.driver-repository.eu/namespace/dri"
|
5
|
xmlns:oaa="http://namespace.openaire.eu/oaa" xmlns:oaf="http://namespace.openaire.eu/oaf"
|
6
|
xmlns:fn="http://www.w3.org/2005/xpath-functions"
|
7
|
xmlns:clean="eu.dnetlib.msro.openaireplus.utils.CleaningXsltFunctions">
|
8
|
|
9
|
|
10
|
<xsl:param name="parentDatasourceId"/>
|
11
|
<xsl:template match="/">
|
12
|
|
13
|
<ROWS>
|
14
|
<xsl:variable name="issn" select="//column[./@name='ISSN']" />
|
15
|
<xsl:variable name="id" select="//column[./@name='ID']" />
|
16
|
|
17
|
<ROW table="pangaea_temp_journals">
|
18
|
<FIELD name="_dnet_resource_identifier_">
|
19
|
<xsl:value-of select="concat('journal',$id)" />
|
20
|
</FIELD>
|
21
|
<FIELD name="id">
|
22
|
<xsl:value-of select="concat('journal',$id)" />
|
23
|
</FIELD>
|
24
|
<FIELD name="issn">
|
25
|
<xsl:value-of select="$issn" />
|
26
|
</FIELD>
|
27
|
<FIELD name="oa_source_id">
|
28
|
<xsl:value-of select="$parentDatasourceId" />
|
29
|
</FIELD>
|
30
|
</ROW>
|
31
|
</ROWS>
|
32
|
</xsl:template>
|
33
|
</xsl:stylesheet>
|