Project

General

Profile

« Previous | Next » 

Revision 52695

datacite2insertActions: updated mapping for contributors

View differences:

modules/dnet-openaireplus-mapping-utils/trunk/src/main/resources/eu/dnetlib/actionmanager/xslt/datacite2insertActions.xslt
56 56
					<xsl:variable name="version" select="//*[local-name() = 'version']"/>
57 57
					<xsl:variable name="language" select="//oaf:language"/>
58 58
					<xsl:variable name="cobjcategory" select="//dr:CobjCategory"/>
59
					<xsl:variable name="contributor" select="//*[local-name() = 'contributor']/*[local-name() = 'contributorName']"/>
59
					<xsl:variable name="contributor" select="//*[local-name() = 'contributor']"/>
60
					<xsl:variable name="distributionlocation" select="//*[local-name() = 'alternateIdentifier' and @alternateIdentifierType='DistributionLocation']"/>
61
					<xsl:variable name="documentationUrl" select="//*[local-name() = 'relatedIdentifier' and @relatedIdentifierType='URL' and @relationType='IsDocumentedBy']"/>
62
					<xsl:variable name="landingPage" select="//*[local-name() = 'alternateIdentifier' and @alternateIdentifierType='LandingPage']/text()"/>
60 63

  
61 64
					<xsl:variable name="instanceURI">
62 65
						<xsl:choose>
......
83 86
					<xsl:variable name="result"
84 87
					              select="dnet:odfResult($resultId, $invisible, $about, $metadata, $titles, $creators, $subjects, $publisher, $descriptions,
85 88
		                        $dates, $dateaccepted, $resourceType, $formats, $sizes, $language, $cobjcategory, $contributor, $rights, $license,
86
		                        $version, $pids, $provenance, $trust, $hostedby, $collectedfrom, $originalids, $instanceURI, $dateOfCollection, $dateoftransformation)"/>
89
		                        $version, $pids, $provenance, $trust, $hostedby, $collectedfrom, $originalids, $instanceURI, $landingPage, $distributionlocation,
90
		                        $documentationUrl, $dateOfCollection, $dateoftransformation)"/>
87 91

  
88 92
					<ROWS>
89 93
						<ROW key="{$resultId}" columnFamily="result">

Also available in: Unified diff