Project

General

Profile

« Previous | Next » 

Revision 29279

updated xpath to fetch the document url (webresource)

View differences:

modules/dnet-openaireplus-profiles/trunk/src/main/resources/eu/dnetlib/test/profiles/MDFormatDSResources/MDFormatDSResourceType/2-8b9503d9-8a86-4330-93ef-7e0cd9bc87c2.xml
116 116
                        <FIELD name="resultbestlicense" xpath="//*[local-name()='entity']/*[local-name()='result']/bestlicense/@classname" tokenizable="false" indexable="true" result="false" stat="false" />
117 117
						<FIELD name="resultbestlicenseid" xpath="//*[local-name()='entity']/*[local-name()='result']/bestlicense/@classid" tokenizable="false" indexable="true" result="false" stat="false" />
118 118

  
119
                        <FIELD name="resultidentifier" xpath="//*[local-name()='entity']/*[local-name()='result']/children/instance/webresource/*[local-name()='identifier']" stat="false" indexable="true" result="false" />
119
                        <FIELD name="resultidentifier" xpath="//*[local-name()='entity']/*[local-name()='result']/children/instance/webresource/*[local-name()='url']" stat="false" indexable="true" result="false" />
120 120
                        <FIELD name="resultdateofacceptance" value="//*[local-name()='entity']/*[local-name()='result']/dateofacceptance" type="date" stat="false" result="false" indexable="true"/>
121 121
						<FIELD name="resultacceptanceyear" value="dnet:extractYear(//*[local-name()='entity']/*[local-name()='result']/dateofacceptance)" tokenizable="false" stat="false" result="false" indexable="true"/>
122 122
                        <FIELD name="resulthostingdatasourceid" xpath="//*[local-name()='entity']/*[local-name()='result']/children/instance/*[local-name()='hostedby']/@id" tokenizable="false" stat="false" result="false" indexable="true"/>

Also available in: Unified diff