Changeset 2060 for metadata/trunk
- Timestamp:
- 08/01/12 14:44:30 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
metadata/trunk/toolkit/xslt/imdi2clarin.xsl
r2046 r2060 98 98 <xsl:if test="exists(child::Description)"> 99 99 <descriptions> 100 101 100 <xsl:variable name="reflist"> 102 101 <xsl:for-each select="Description"> 103 104 102 <xsl:if test="not(normalize-space(@ArchiveHandle)='') or not(normalize-space(@Link)='')"> 105 103 <xsl:value-of select="generate-id()"/> 106 104 <xsl:text> </xsl:text> 107 105 </xsl:if> 108 109 110 106 </xsl:for-each> 111 107 </xsl:variable> 112 108 113 109 <xsl:attribute name="ref" select="normalize-space($reflist)"></xsl:attribute> 114 115 116 110 117 111 <xsl:for-each select="Description"> … … 216 210 <xsl:if test="exists(child::Description)"> 217 211 <descriptions> 218 <xsl:for-each select="Description"> 219 <xsl:if test="@ArchiveHandle"> 220 <xsl:attribute name="ref" select="generate-id()"/> 221 </xsl:if> 212 <xsl:variable name="reflist"> 213 <xsl:for-each select="Description"> 214 <xsl:if test="not(normalize-space(@ArchiveHandle)='') or not(normalize-space(@Link)='')"> 215 <xsl:value-of select="generate-id()"/> 216 <xsl:text> </xsl:text> 217 </xsl:if> 218 </xsl:for-each> 219 </xsl:variable> 220 221 <xsl:if test="not(normalize-space($reflist)='')"> 222 <xsl:attribute name="ref" select="normalize-space($reflist)"></xsl:attribute> 223 </xsl:if> 224 225 <xsl:for-each select="Description"> 222 226 <Description> 223 227 <xsl:attribute name="LanguageId" select="@LanguageId"/>
Note: See TracChangeset
for help on using the changeset viewer.