Revision 55727
Added by Claudio Atzori almost 5 years ago
modules/dnet-openaireplus-profiles/trunk/src/main/resources/eu/dnetlib/test/profiles/TransformationRuleDSResources/TransformationRuleDSResourceType/2hbase/odf2hbase.xml | ||
---|---|---|
63 | 63 |
<xsl:variable name="publisher" select="//*[local-name() = 'resource']//*[local-name() = 'publisher']"/> |
64 | 64 |
<xsl:variable name="descriptions" select="//*[local-name() = 'resource']//*[local-name() = 'description']"/> |
65 | 65 |
<xsl:variable name="dates" select="//*[local-name() = 'resource']//*[local-name() = 'date']"/> |
66 |
<xsl:variable name="dateaccepted" select="//*[local-name() = 'resource']//oaf:dateAccepted"/>
|
|
66 |
<xsl:variable name="dateaccepted" select="//*[local-name() = 'dateAccepted']"/>
|
|
67 | 67 |
<xsl:variable name="resourceType" select="//*[local-name() = 'resource']//*[local-name() = 'resourceType']"/> |
68 | 68 |
<xsl:variable name="formats" select="//*[local-name() = 'resource']//*[local-name() = 'format']"/> |
69 | 69 |
<xsl:variable name="sizes" select="//*[local-name() = 'resource']//*[local-name() = 'size']"/> |
70 |
<xsl:variable name="rights" select="//oaf:accessrights"/>
|
|
71 |
<xsl:variable name="license" select="//oaf:license"/>
|
|
70 |
<xsl:variable name="rights" select="//*[local-name() = 'accessrights']"/>
|
|
71 |
<xsl:variable name="license" select="//*[local-name() = 'license']"/>
|
|
72 | 72 |
<xsl:variable name="version" select="//*[local-name() = 'resource']//*[local-name() = 'version']"/> |
73 |
<xsl:variable name="language" select="//oaf:language"/>
|
|
74 |
<xsl:variable name="cobjcategory" select="//dr:CobjCategory"/>
|
|
73 |
<xsl:variable name="language" select="//*[local-name() = 'language']"/>
|
|
74 |
<xsl:variable name="cobjcategory" select="//*[local-name() = 'CobjCategory']"/>
|
|
75 | 75 |
<xsl:variable name="contributor" select="//*[local-name() = 'resource']//*[local-name() = 'contributor']"/> |
76 | 76 |
<xsl:variable name="distributionlocation" select="//*[local-name() = 'resource']//*[local-name() = 'alternateIdentifier' and @alternateIdentifierType='DistributionLocation']"/> |
77 | 77 |
<xsl:variable name="documentationUrl" select="//*[local-name() = 'resource']//*[local-name() = 'relatedIdentifier' and @relatedIdentifierType='URL' and @relationType='IsDocumentedBy']"/> |
Also available in: Unified diff
mapping dateAccepted, accessrights, license, language, CobjCategory from eny depth and using local-name (namespace unaware)