Project

General

Profile

« Previous | Next » 

Revision 31077

fixed id assignment

View differences:

modules/dnet-openaireplus-workflows/trunk/src/main/resources/eu/dnetlib/msro/openaireplus/workflows/repo-hi/xslt/re3data_2_db.xsl
31 31
						<FIELD name="latitude"></FIELD>
32 32
						<FIELD name="longitude"></FIELD>
33 33
						<FIELD name="timezone"></FIELD>
34
						<FIELD name="nameSpacePrefix"><xsl:value-of select="substring(concat('r3d_', dnet:md5(.)), 0, 12)" /></FIELD>
34
						<FIELD name="nameSpacePrefix"><xsl:value-of select="dnet:generateNsPrefix('r3d', normalize-space(.//*[local-name()='identifier']))" /></FIELD>
35 35
						<FIELD name="description"><xsl:value-of select="./*[local-name()='description']" /></FIELD>
36 36
						<FIELD name="collectedfrom"><xsl:value-of select="$parentDatasourceId" /></FIELD>
37 37
						<FIELD name="datasourceClass">datarepository::unknown</FIELD>

Also available in: Unified diff