Changeset 5635
- Timestamp:
- 09/15/14 14:54:12 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
metadata/trunk/toolkit/upgrade/cmd-record-1_1-to-1_2.xsl
r5634 r5635 10 10 <xsl:param name="cmd-component-registry" select="'../components/'"/> 11 11 <xsl:param name="cmd-component-registry-xsd" select="'-1_2.xsd'"/> 12 13 12 14 13 <!-- identity copy --> … … 21 20 <!-- try to determine the profile --> 22 21 <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')"/> 24 23 <xsl:variable name="schema" select="/cmd:CMD/(@xsi:schemaLocation|@xsi:noNamespaceSchemaLocation)/replace(.,'.*(clarin.eu:cr1:p_[0-9]+).*','$1')"/> 25 24 <xsl:if test="count($header) gt 1">
Note: See TracChangeset
for help on using the changeset viewer.