Revision 55115
Added by Alessia Bardi about 5 years ago
xslt_cleaning_ORP-biotools.xml | ||
---|---|---|
34 | 34 |
<xsl:variable name="tf" select="TransformationFunction:getInstance()"/> |
35 | 35 |
|
36 | 36 |
<!-- TODO: ADD HERE THE LIST OF AUTHORS' EMAILS--> |
37 |
<xsl:variable name="elixirGRAuthorMails" |
|
38 |
select="()"/> |
|
37 |
<xsl:variable name="elixirGRAuthorMails" select="()"/>
|
|
38 |
|
|
39 | 39 |
<xsl:template match="/"> |
40 | 40 |
<xsl:variable name="datasourcePrefix" select="normalize-space(//oaf:datasourceprefix)"/> |
41 | 41 |
<xsl:call-template name="validRecord"/> |
... | ... | |
269 | 269 |
--> |
270 | 270 |
|
271 | 271 |
<!-- Check for person emails and elixirNode if we can set the concept for ELIXIR-GR --> |
272 |
<xsl:variable name="authorMails" select="//contact/email"/>
|
|
273 |
<xsl:if test="//elixirNode/text() = 'Greece' or count(functx:value-intersect($authorMails, $elixirGRAuthorMails)) > 0"> |
|
272 |
<xsl:variable name="authorMails" select="//credit/email"/>
|
|
273 |
<xsl:if test="//elixirNode/text() = 'Greece' or /list/name/text() or count(functx:value-intersect($authorMails, $elixirGRAuthorMails)) > 0">
|
|
274 | 274 |
<oaf:concept> |
275 | 275 |
<xsl:attribute name="id" select="'elixir-gr'"/> |
276 | 276 |
</oaf:concept> |
Also available in: Unified diff
emails to check are in credit not contact