Revision 49576
Added by Claudio Atzori almost 7 years ago
modules/dnet-openaireplus-mapping-utils/trunk/src/main/resources/eu/dnetlib/actionmanager/xslt/datacite2insertActions.xslt | ||
---|---|---|
8 | 8 |
|
9 | 9 |
<xsl:output omit-xml-declaration="yes" indent="yes"/> |
10 | 10 |
|
11 |
<xsl:param name="invisible" select="false()"/> |
|
11 | 12 |
<xsl:param name="trust" select="string('0.9')"/> |
12 | 13 |
<xsl:param name="provenance" select="string('sysimport:crosswalk:datasetarchive')"/> |
13 | 14 |
<xsl:template match="/*"> |
... | ... | |
85 | 86 |
select="//*[local-name() = 'resource']//*[local-name()='identifier'or local-name()='alternateIdentifier']"/> |
86 | 87 |
|
87 | 88 |
<xsl:variable name="result" |
88 |
select="dnet:odfResult($resultId, $about, $metadata, $titles, $creators, $subjects, $publisher, $descriptions, |
|
89 |
$dates, $dateaccepted, $resourceType, $formats, $sizes, $language, $cobjcategory, $contributor, $rights, $license, |
|
90 |
$version, $pids, $provenance, $trust, $hostedbyid, $hostedbyname, $collectedfromid, |
|
91 |
$collectedfromname, $originalids, $instanceURI, $dateOfCollection, $dateoftransformation)"/> |
|
89 |
select="dnet:odfResult($resultId, $invisible, $about, $metadata, $titles, $creators, $subjects, $publisher, $descriptions,
|
|
90 |
$dates, $dateaccepted, $resourceType, $formats, $sizes, $language, $cobjcategory, $contributor, $rights, $license,
|
|
91 |
$version, $pids, $provenance, $trust, $hostedbyid, $hostedbyname, $collectedfromid,
|
|
92 |
$collectedfromname, $originalids, $instanceURI, $dateOfCollection, $dateoftransformation)"/>
|
|
92 | 93 |
|
93 | 94 |
<ROWS> |
94 | 95 |
<ROW key="{$resultId}" columnFamily="result"> |
modules/dnet-openaireplus-mapping-utils/trunk/src/main/resources/eu/dnetlib/actionmanager/xslt/dmf2updateActions.xslt | ||
---|---|---|
11 | 11 |
|
12 | 12 |
<xsl:output omit-xml-declaration="yes" indent="yes"/> |
13 | 13 |
|
14 |
<xsl:param name="invisible" select="false()"/> |
|
14 | 15 |
<xsl:param name="trust" select="string('0.9')"/> |
15 | 16 |
<xsl:param name="provenance" select="string('UNKNOWN')"/> |
16 | 17 |
|
... | ... | |
50 | 51 |
</xsl:variable> |
51 | 52 |
|
52 | 53 |
<xsl:variable name="result" |
53 |
select="dnet:oafResult($resultId, $provenance, $trust, $about, $hostedbyid, $hostedbyname, |
|
54 |
select="dnet:oafResult($resultId, $invisible, $provenance, $trust, $about, $hostedbyid, $hostedbyname,
|
|
54 | 55 |
$collectedfromid, $collectedfromname, $originalid, $dateofcollection, $dateoftransformation, $metadata)"/> |
55 | 56 |
|
56 | 57 |
<ROWS> |
modules/dnet-openaireplus-mapping-utils/trunk/src/main/resources/eu/dnetlib/actionmanager/xslt/dmf2insertActions.xslt | ||
---|---|---|
9 | 9 |
|
10 | 10 |
<xsl:output omit-xml-declaration="yes" indent="yes"/> |
11 | 11 |
|
12 |
<xsl:param name="writeCoAuthors" select="false()"/> |
|
13 |
|
|
12 |
<xsl:param name="invisible" select="false()"/> |
|
14 | 13 |
<xsl:param name="trust" select="string('0.9')"/> |
15 | 14 |
<xsl:param name="provenance" select="string('sysimport:crosswalk:repository')"/> |
16 | 15 |
|
... | ... | |
70 | 69 |
</xsl:variable> |
71 | 70 |
|
72 | 71 |
<xsl:variable name="result" |
73 |
select="dnet:oafResult($resultId, $provenance, $trust, $about, $hostedbyid, $hostedbyname, $collectedfromid, |
|
72 |
select="dnet:oafResult($resultId, $invisible, $provenance, $trust, $about, $hostedbyid, $hostedbyname, $collectedfromid,
|
|
74 | 73 |
$collectedfromname, $originalid, $dateofcollection, $dateoftransformation, $metadata)"/> |
75 | 74 |
|
76 | 75 |
<ROWS> |
Also available in: Unified diff
passing 'invisible' param to the protobuf builder methods