Changeset 6684
- Timestamp:
- 10/17/15 07:46:49 (9 years ago)
- Location:
- metadata/trunk/toolkit/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
metadata/trunk/toolkit/src/main/resources/toolkit/upgrade/cmd-record-1_1-to-1_2.xsl
r6683 r6684 154 154 <xsl:copy/> 155 155 </xsl:when> 156 <xsl:when test="exists(../ parent::*/node()) or exists(../parent::*/@ComponentId)">156 <xsl:when test="exists(../node()) or exists(parent::*/@ComponentId)"> 157 157 <!-- the parent is a component add the namespace to @ref --> 158 158 <xsl:attribute name="cmd:ref" select="."/> … … 167 167 <xsl:when test="exists($attr/parent::AttributeList/parent::CMD_Component)"> 168 168 <!-- the parent is a component add the namespace to @ref --> 169 <xsl:message>!MENZO: the parent is a component add the namespace to @ref</xsl:message>170 169 <xsl:attribute name="cmd:ref" select="."/> 171 170 </xsl:when> 172 171 <xsl:otherwise> 173 172 <!-- this is an element keep the @ref --> 174 <xsl:message>!MENZO: the parent is an element keep the @ref</xsl:message>175 173 <xsl:copy/> 176 174 </xsl:otherwise> -
metadata/trunk/toolkit/src/test/resources/toolkit/TEI/records/sundhed_dsn.teiHeader.ref.xml
r6255 r6684 9 9 </Header> 10 10 <Resources> 11 <ResourceProxyList/> 11 <ResourceProxyList> 12 <ResourceProxy id="r0"> 13 <ResourceType>Resource</ResourceType> 14 <ResourceRef>example.com</ResourceRef> 15 </ResourceProxy> 16 </ResourceProxyList> 12 17 <JournalFileProxyList/> 13 18 <ResourceRelationList/> … … 16 21 <teiHeader> 17 22 <type>text</type> 18 <fileDesc >23 <fileDesc ref="r0"> 19 24 <titleStmt> 20 25 <title lang="da">2. trimester abort eller dÞdfÞdsel</title> … … 61 66 <resp>Translated by</resp> 62 67 <name> 63 <name ref="#nil_person">empty</name> 68 <!--<name ref="#nil_person">empty</name>--> 69 <name ref="#nil_person"/> 64 70 </name> 65 71 </respStmt>
Note: See TracChangeset
for help on using the changeset viewer.