Project

General

Profile

« Previous | Next » 

Revision 52413

extended coverage for orp and software guidelines

View differences:

modules/dnet-openaireplus-profiles/trunk/src/main/resources/eu/dnetlib/test/profiles/TransformationRuleDSResources/TransformationRuleDSResourceType/2hbase/odf2hbase.xml
72 72
                <xsl:variable name="version" select="//*[local-name() = 'version']"/>
73 73
                <xsl:variable name="language" select="//oaf:language"/>
74 74
                <xsl:variable name="cobjcategory" select="//dr:CobjCategory"/>
75
                <xsl:variable name="contributor" select="//*[local-name() = 'contributor']/*[local-name() = 'contributorName']"/>
75
                <xsl:variable name="contributor" select="//*[local-name() = 'contributor']"/>
76
	            <xsl:variable name="distributionlocation" select="//*[local-name() = 'alternateIdentifier' and @alternateIdentifierType='DistributionLocation']"/>
77
	            <xsl:variable name="documentationUrl" select="//*[local-name() = 'relatedIdentifier' and @relatedIdentifierType='URL' and @relationType='IsDocumentedBy']"/>
76 78

  
77 79
                <xsl:variable name="instanceURI">
78 80
	                <xsl:choose>
......
99 101
                <xsl:variable name="result"
100 102
                              select="dnet:odfResult($resultId, $invisible, $about, $metadata, $titles, $creators, $subjects, $publisher, $descriptions,
101 103
		                        $dates, $dateaccepted, $resourceType, $formats, $sizes, $language, $cobjcategory, $contributor, $rights, $license,
102
		                        $version, $pids, $provenance, $trust, $hostedby, $collectedfrom, $originalids, $instanceURI, $dateOfCollection, $dateoftransformation)"/>
104
		                        $version, $pids, $provenance, $trust, $hostedby, $collectedfrom, $originalids, $instanceURI, $distributionlocation,
105
		                        $documentationUrl, $dateOfCollection, $dateoftransformation)"/>
103 106

  
104 107
                <ROWS>
105 108
	                <ROW key="{$resultId}" columnFamily="result">

Also available in: Unified diff