Project

General

Profile

« Previous | Next » 

Revision 55114

leave out orcid ids

View differences:

xslt_cleaning_ORP-biotools.xml
270 270

  
271 271
                <!-- Check for person emails and elixirNode if we can set the concept for ELIXIR-GR -->
272 272
                <xsl:variable name="authorMails" select="//contact/email"/>
273
                <xsl:if test="//elixirNode = 'Greece' or count(functx:value-intersect($authorMails, $elixirGRAuthorMails)) > 0">
273
                <xsl:if test="//elixirNode/text() = 'Greece' 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>
......
345 345
                                    <xsl:value-of select="substring-before($varDeveloperName, ', ')"
346 346
                                    />
347 347
                                </familyName>
348
                                <xsl:if
348
                                <!-- TODO: change the loop so we can set the ORICD id -->
349
                                <!--<xsl:if
349 350
                                    test="string-length(./*[local-name() = 'orcidId']) > 0 and ./*[local-name() = 'orcidId'] != 'null'">
350 351
                                    <nameIdentifier nameIdentifierScheme="ORCID"
351 352
                                        schemeURI="https://orcid.org">
352 353
                                        <xsl:value-of select="./*[local-name() = 'orcidId']"/>
353 354
                                    </nameIdentifier>
354 355
                                </xsl:if>
356
                                -->
355 357
                            </creator>
356 358
                        </xsl:for-each>
357 359
                    </xsl:for-each>

Also available in: Unified diff