Project

General

Profile

« Previous | Next » 

Revision 43556

concatenated dc:description fields (separated by "; "), since only the first is visible in the portal

View differences:

modules/dnet-openaireplus-profiles/trunk/src/main/resources/eu/dnetlib/test/profiles/TransformationRuleDSResources/TransformationRuleDSResourceType/dc_cleaning_OpenAIREplus_compliant_hal.xml
37 37
apply xpath:"//dc:source" if xpath:"string-length(.) > 0" dc:source = xpath:"normalize-space(.)"; else $varDummy = "''";
38 38
dc:contributor = xpath:"//dc:contributor";
39 39
// dc:description = xpath:"//dc:description/normalize-space(.)";
40
//  dc:description = xpath:"string-join(//dc:description/normalize-space(.), concat('; ',codepoints-to-string(10)))";
40
// dc:description = xpath:"string-join(//dc:description/normalize-space(.), concat('; ',codepoints-to-string(10)))";
41 41
dc:description = xpath:"string-join(//dc:description/normalize-space(.), '; ')";
42 42
dc:format = xpath:"//dc:format";
43 43
$varHttpTest = "''";

Also available in: Unified diff