Revision 48193
Added by Alessia Bardi over 6 years ago
wellcometrust_2_db.xsl | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
|
2 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
|
3 |
xmlns:xs="http://www.w3.org/2001/XMLSchema" |
|
4 |
exclude-result-prefixes="xs" version="2.0"> |
|
3 | 5 |
|
4 | 6 |
<xsl:param name="parentDatasourceId"/> |
5 | 7 |
<xsl:param name="namespacePrefix"/> |
... | ... | |
95 | 97 |
<xsl:value-of select="$jsonExtra"/> |
96 | 98 |
</FIELD> |
97 | 99 |
</xsl:if> |
100 |
<!-- true for projects started after 2005 --> |
|
101 |
<xsl:choose> |
|
102 |
<xsl:when test="xs:date($startDate) >= xs:date('2015-01-01')"> |
|
103 |
<FIELD name="oa_mandate_for_publications" type="boolean">true</FIELD> |
|
104 |
</xsl:when> |
|
105 |
<xsl:otherwise><FIELD name="oa_mandate_for_publications" type="boolean">false</FIELD></xsl:otherwise> |
|
106 |
</xsl:choose> |
|
98 | 107 |
</ROW> |
99 | 108 |
|
100 | 109 |
<ROW table="project_fundingpath"> |
Also available in: Unified diff
WT projects have OA mandate if they started after 2015.