Changeset 5635 for metadata


Ignore:
Timestamp:
09/15/14 14:54:12 (10 years ago)
Author:
Menzo Windhouwer
Message:

M toolkit/upgrade/cmd-record-1_1-to-1_2.xsl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • metadata/trunk/toolkit/upgrade/cmd-record-1_1-to-1_2.xsl

    r5634 r5635  
    1010    <xsl:param name="cmd-component-registry" select="'../components/'"/>
    1111    <xsl:param name="cmd-component-registry-xsd" select="'-1_2.xsd'"/>
    12    
    1312
    1413    <!-- identity copy -->
     
    2120    <!-- try to determine the profile -->
    2221    <xsl:variable name="profile">
    23         <xsl:variable name="header" select="/cmd:CMD/cmd:Header/cmd:MdProfile/replace(.,'.*(clarin.eu:cr1:p_[0-9]).*','$1')"/>
     22        <xsl:variable name="header" select="/cmd:CMD/cmd:Header/cmd:MdProfile/replace(.,'.*(clarin.eu:cr1:p_[0-9]+).*','$1')"/>
    2423        <xsl:variable name="schema" select="/cmd:CMD/(@xsi:schemaLocation|@xsi:noNamespaceSchemaLocation)/replace(.,'.*(clarin.eu:cr1:p_[0-9]+).*','$1')"/>
    2524        <xsl:if test="count($header) gt 1">
Note: See TracChangeset for help on using the changeset viewer.