Revision 48608
Added by Alessia Bardi over 6 years ago
xslt_cleaning_pangaea_datacite.xml | ||
---|---|---|
114 | 114 |
</xsl:if> |
115 | 115 |
--> |
116 | 116 |
<xsl:for-each select="//*[local-name() = 'nameIdentifier']"> |
117 |
<xsl:if |
|
118 |
test="string-length(substring-after(normalize-space(.), 'info:eu-repo/grantAgreement/EC/FP7/')) = 6">
|
|
117 |
|
|
118 |
<xsl:if test="string-length(substring-after(normalize-space(.), 'info:eu-repo/grantAgreement/EC/FP7/')) = 6">
|
|
119 | 119 |
<oaf:projectid> |
120 | 120 |
<xsl:value-of |
121 | 121 |
select="TransformationFunction:regExpr($tf, normalize-space(.), $varCorda, 's/^(.*info:eu-repo\/grantAgreement\/EC\/FP7\/)//gm')" |
122 | 122 |
/> |
123 | 123 |
</oaf:projectid> |
124 | 124 |
</xsl:if> |
125 |
<xsl:if test="starts-with(normalize-space(.), 'tar')"> |
|
126 |
<oaf:projectid> |
|
127 |
<xsl:value-of select="normalize-space(.)"/> |
|
128 |
</oaf:projectid> |
|
129 |
</xsl:if> |
|
130 |
|
|
131 |
|
|
125 | 132 |
</xsl:for-each> |
126 | 133 |
<oaf:hostedBy> |
127 | 134 |
<xsl:attribute name="name"> |
Also available in: Unified diff
Support Tara projects and not only FP7