Revision 50430
Added by Claudio Atzori about 6 years ago
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() > 1">,</xsl:if> |
13 |
<xsl:value-of select="substring-after(., ' ')"/>
|
|
13 |
<xsl:value-of select="concat('"', 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="$subjects"/>
|
|
112 |
<xsl:value-of select="concat('{', normalize-space($subjects), '}')"/>
|
|
113 | 113 |
</FIELD> |
114 | 114 |
</ROW> |
115 | 115 |
|
Also available in: Unified diff
store subjects as text arrays