Project

General

Profile

« Previous | Next » 

Revision 51591

fixing mappings for datasource subjects, languages, contenttypes

View differences:

re3data_2_db.xsl
9 9
	<xsl:variable name="dsId" select="concat($namespacePrefix, '::', normalize-space(.//*[local-name()='re3data.orgIdentifier']))"/>
10 10
	<xsl:variable name="subjects">
11 11
		<xsl:for-each select="//*[local-name()='subject']">
12
			<xsl:if test="position() &gt; 1">,</xsl:if>
13
			<xsl:value-of select="concat('&quot;', substring-after(., ' '), '&quot;')"/>
12
			<xsl:if test="position() &gt; 1"> @@ </xsl:if>
13
			<xsl:value-of select="substring-after(., ' ')"/>
14 14
		</xsl:for-each>
15 15
	</xsl:variable>
16 16

  
......
109 109
							<xsl:value-of select=".//*[local-name()='certificate']"/>
110 110
						</FIELD>
111 111
						<FIELD name="subjects">
112
							<xsl:value-of select="concat('{', normalize-space($subjects), '}')"/>
112
							<xsl:value-of select="normalize-space($subjects)"/>
113 113
						</FIELD>
114 114
					</ROW>
115 115

  

Also available in: Unified diff