Changeset 999


Ignore:
Timestamp:
12/16/10 12:17:14 (13 years ago)
Author:
paucas
Message:

changed structure to match new imdi-corpus profile in the Component Registry

File:
1 edited

Legend:

Unmodified
Added
Removed
  • metadata/trunk/toolkit/xslt/batch-imdi2clarin.xsl

    r997 r999  
    5252                <xsl:apply-templates select="child::Name"/>
    5353                <xsl:apply-templates select="child::Title"/>
    54                 <xsl:if test="exists(child::CorpusLink)">
    55                     <xsl:for-each select="CorpusLink">
    56                         <CorpusLink>
    57                             <!--<xsl:attribute name="ArchiveHandle" select="@ArchiveHandle"/>-->
    58                             <xsl:attribute name="Name" select="@Name"/>
    59                             <xsl:value-of select="."/>
    60                         </CorpusLink>
    61                     </xsl:for-each>
    62                 </xsl:if>
    6354                <xsl:if test="exists(child::Description)">
    6455                    <descriptions>
     
    7061                        </xsl:for-each>
    7162                    </descriptions>
     63                </xsl:if>
     64                <xsl:if test="exists(child::CorpusLink)">
     65                    <xsl:for-each select="CorpusLink">
     66                        <CorpusLink>
     67                            <CorpusLinkContent>
     68                                <!--<xsl:attribute name="ArchiveHandle" select="@ArchiveHandle"/>-->
     69                                <xsl:attribute name="Name" select="@Name"/>
     70                                <xsl:value-of select="."/>
     71                            </CorpusLinkContent>
     72                        </CorpusLink>
     73                    </xsl:for-each>
    7274                </xsl:if>
    7375            </Corpus>
Note: See TracChangeset for help on using the changeset viewer.