Project

General

Profile

« Previous | Next » 

Revision 50430

store subjects as text arrays

View differences:

re3data_2_db.xsl
10 10
	<xsl:variable name="subjects">
11 11
		<xsl:for-each select="//*[local-name()='subject']">
12 12
			<xsl:if test="position() &gt; 1">,</xsl:if>
13
			<xsl:value-of select="substring-after(., ' ')"/>
13
			<xsl:value-of select="concat('&quot;', substring-after(., ' '), '&quot;')"/>
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="$subjects"/>
112
							<xsl:value-of select="concat('{', normalize-space($subjects), '}')"/>
113 113
						</FIELD>
114 114
					</ROW>
115 115

  

Also available in: Unified diff