Project

General

Profile

« Previous | Next » 

Revision 60479

Default access right set to RESTRICTED instead of CLOSED

View differences:

modules/dnet-openaireplus-profiles/trunk/src/main/resources/eu/dnetlib/test/profiles/TransformationRuleDSResources/TransformationRuleDSResourceType/dc_cleaning_OPENAIREplus_erc.xml
94 94
                    dr:CobjCategory = set($varCobjCategory, @type = $varSuperType;);
95 95
                    dc:type = xpath:"//cr:doi/@type";
96 96
                    //
97
                    if xpath:"//PUB_ACCESS_OPEN = 'true'" oaf:accessrights = "OPEN"; else oaf:accessrights = "CLOSED";
97
                    if xpath:"//PUB_ACCESS_OPEN = 'true'" oaf:accessrights = "OPEN"; else oaf:accessrights = "RESTRICTED";
98 98
                    //
99 99
                    $varISSN = "''";
100 100
                    if xpath:"starts-with(//PUB_PERMANENT_ID, 'ISSN ')" $varISSN = xpath:"normalize-space(substring-after(//PUB_PERMANENT_ID, 'ISSN '))"; else $varDummy = "''";

Also available in: Unified diff