Revision 48139
Added by Alessia Bardi over 6 years ago
datacite_datarepos_2_db.xslt | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 | 2 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
3 |
xmlns:clean="eu.dnetlib.msro.openaireplus.utils.CleaningXsltFunctions"
|
|
4 |
version="1.0">
|
|
3 |
xmlns:clean="eu.dnetlib.msro.openaireplus.utils.CleaningXsltFunctions"
|
|
4 |
version="1.0">
|
|
5 | 5 |
|
6 | 6 |
<xsl:template match="/"> |
7 | 7 |
<ROWS> |
8 |
<xsl:variable name="id" select="//FIELD[@name='id']" />
|
|
9 |
<xsl:variable name="name" select="//FIELD[@name='name']" />
|
|
10 |
<xsl:variable name="class" select="//FIELD[@name='class']" />
|
|
8 |
<xsl:variable name="id" select="//FIELD[@name='id']"/> |
|
9 |
<xsl:variable name="name" select="//FIELD[@name='name']"/> |
|
10 |
<xsl:variable name="class" select="//FIELD[@name='class']"/> |
|
11 | 11 |
<xsl:variable name="cleanedName"> |
12 | 12 |
<xsl:choose> |
13 | 13 |
<xsl:when test="string-length(clean:clean($name)) >0 "> |
Also available in: Unified diff
integrated (hopefully) all required changes from dnet40