Project

General

Profile

« Previous | Next » 

Revision 52108

communityname and id for communityies and ris

View differences:

modules/dnet-openaireplus-profiles/trunk/src/main/resources/eu/dnetlib/test/profiles/MDFormatDSResources/MDFormatDSResourceType/2-8b9503d9-8a86-4330-93ef-7e0cd9bc87c2.xml
336 336
		                       result="false" stat="false"/>
337 337
		                <FIELD name="contextname" xpath="//*[local-name()='entity']/*[local-name()='result']/context/@label" tokenizable="false"
338 338
		                       indexable="true" result="false" stat="false"/>
339
		                <!-- Need spaecial fields for community (research initiative) context in order to exclude funders from the context browse -->
339
		                <!-- Need special fields for community (research initiative) context in order to exclude funders from the context browse -->
340 340
		                <FIELD name="community"
341
		                       xpath="//*[local-name()='entity']/*[local-name()='result']/context[@type='community']" value="dnet:join(@id, '||', @label)"
341
		                       xpath="//*[local-name()='entity']/*[local-name()='result']/context[@type='community' or @type='ri']" value="dnet:join(@id, '||', @label)"
342 342
		                       tokenizable="false" indexable="true" result="false" stat="false" />
343 343

  
344
		                <FIELD name="communityname" xpath="//*[local-name()='entity']/*[local-name()='result']/context[@type='community']/@label"
344
		                <FIELD name="communityname" xpath="//*[local-name()='entity']/*[local-name()='result']/context[@type='community' or @type='ri']/@label"
345 345
		                       tokenizable="false" indexable="true" result="false" stat="false"/>
346 346

  
347
		                <FIELD name="communityid" xpath="//*[local-name()='entity']/*[local-name()='result']/context[@type='community']/@id" tokenizable="false"
347
		                <FIELD name="communityid" xpath="//*[local-name()='entity']/*[local-name()='result']/context[@type='community' or @type='ri']/@id" tokenizable="false"
348 348
		                       indexable="true" result="false" stat="false"/>
349 349

  
350 350
		                <FIELD name="categoryid" xpath="//*[local-name()='entity']/*[local-name()='result']/context/category/@id" tokenizable="false"

Also available in: Unified diff