Commit f107a66f authored by Silvia Witzig's avatar Silvia Witzig
Browse files

fix for subject tags without typeLabel

parent 30f86908
......@@ -23,7 +23,7 @@ record:
- content: language
- caption: captioningFormat
subject:
- prefLabel: Keywords
- prefLabel: subject
genre:
- prefLabel: genre
placeOfCapture:
......
......@@ -39,7 +39,7 @@
</xsl:template>
<!-- content of child node is copied to parent node -->
<xsl:template match="title | format/essenceLocator | format/duration | format/start | language | references | coverage/spatial/location">
<xsl:template match="title | format/essenceLocator | format/duration | format/start | language | references | coverage/spatial/location | subject[not(@typeLabel)]">
<xsl:element name="{local-name()}">
<xsl:value-of select="child::*"/>
</xsl:element>
......
......@@ -24,6 +24,7 @@ record:
- caption: captioningFormat
subject:
- prefLabel: Keywords
- prefLabel: subject
genre:
- prefLabel: genre
placeOfCapture:
......
......@@ -39,7 +39,7 @@
</xsl:template>
<!-- content of child node is copied to parent node -->
<xsl:template match="title | format/essenceLocator | format/duration | format/start | language | references | coverage/spatial/location">
<xsl:template match="title | format/essenceLocator | format/duration | format/start | language | references | coverage/spatial/location | subject[not(@typeLabel)]">
<xsl:element name="{local-name()}">
<xsl:value-of select="child::*"/>
</xsl:element>
......
......@@ -24,6 +24,7 @@ record:
- caption: captioningFormat
subject:
- prefLabel: Keywords
- prefLabel: subject
genre:
- prefLabel: genre
placeOfCapture:
......
......@@ -39,7 +39,7 @@
</xsl:template>
<!-- content of child node is copied to parent node -->
<xsl:template match="title | format/essenceLocator | format/duration | format/start | language | references | coverage/spatial/location">
<xsl:template match="title | format/essenceLocator | format/duration | format/start | language | references | coverage/spatial/location | subject[not(@typeLabel)]">
<xsl:element name="{local-name()}">
<xsl:value-of select="child::*"/>
</xsl:element>
......
......@@ -23,7 +23,7 @@ record:
- content: language
- caption: captioningFormat
subject:
- prefLabel: Keywords
- prefLabel: subject
genre:
- prefLabel: genre
placeOfCapture:
......
......@@ -39,7 +39,7 @@
</xsl:template>
<!-- content of child node is copied to parent node -->
<xsl:template match="title | format/essenceLocator | format/duration | format/start | language | references | coverage/spatial/location">
<xsl:template match="title | format/essenceLocator | format/duration | format/start | language | references | coverage/spatial/location | subject[not(@typeLabel)]">
<xsl:element name="{local-name()}">
<xsl:value-of select="child::*"/>
</xsl:element>
......
......@@ -23,7 +23,7 @@ record:
- content: language
- caption: captioningFormat
subject:
- prefLabel: Keywords
- prefLabel: subject
genre:
- prefLabel: genre
placeOfCapture:
......
......@@ -39,7 +39,7 @@
</xsl:template>
<!-- content of child node is copied to parent node -->
<xsl:template match="title | format/essenceLocator | format/duration | format/start | language | references | coverage/spatial/location">
<xsl:template match="title | format/essenceLocator | format/duration | format/start | language | references | coverage/spatial/location | subject[not(@typeLabel)]">
<xsl:element name="{local-name()}">
<xsl:value-of select="child::*"/>
</xsl:element>
......
......@@ -23,7 +23,7 @@ record:
- content: language
- caption: captioningFormat
subject:
- prefLabel: Keywords
- prefLabel: subject
genre:
- prefLabel: genre
placeOfCapture:
......
......@@ -39,7 +39,7 @@
</xsl:template>
<!-- content of child node is copied to parent node -->
<xsl:template match="title | format/essenceLocator | format/duration | format/start | language | references | coverage/spatial/location">
<xsl:template match="title | format/essenceLocator | format/duration | format/start | language | references | coverage/spatial/location | subject[not(@typeLabel)]">
<xsl:element name="{local-name()}">
<xsl:value-of select="child::*"/>
</xsl:element>
......
......@@ -23,7 +23,7 @@ record:
- content: language
- caption: captioningFormat
subject:
- prefLabel: Keywords
- prefLabel: subject
genre:
- prefLabel: genre
placeOfCapture:
......
......@@ -39,7 +39,7 @@
</xsl:template>
<!-- content of child node is copied to parent node -->
<xsl:template match="title | format/essenceLocator | format/duration | format/start | language | references | coverage/spatial/location">
<xsl:template match="title | format/essenceLocator | format/duration | format/start | language | references | coverage/spatial/location | subject[not(@typeLabel)]">
<xsl:element name="{local-name()}">
<xsl:value-of select="child::*"/>
</xsl:element>
......
......@@ -23,7 +23,7 @@ record:
- content: language
- caption: captioningFormat
subject:
- prefLabel: Keywords
- prefLabel: subject
genre:
- prefLabel: genre
placeOfCapture:
......
......@@ -39,7 +39,7 @@
</xsl:template>
<!-- content of child node is copied to parent node -->
<xsl:template match="title | format/essenceLocator | format/duration | format/start | language | references | coverage/spatial/location">
<xsl:template match="title | format/essenceLocator | format/duration | format/start | language | references | coverage/spatial/location | subject[not(@typeLabel)]">
<xsl:element name="{local-name()}">
<xsl:value-of select="child::*"/>
</xsl:element>
......
......@@ -23,7 +23,7 @@ record:
- content: language
- caption: captioningFormat
subject:
- prefLabel: Keywords
- prefLabel: subject
genre:
- prefLabel: genre
placeOfCapture:
......
......@@ -39,7 +39,7 @@
</xsl:template>
<!-- content of child node is copied to parent node -->
<xsl:template match="title | format/essenceLocator | format/duration | format/start | language | references | coverage/spatial/location">
<xsl:template match="title | format/essenceLocator | format/duration | format/start | language | references | coverage/spatial/location | subject[not(@typeLabel)]">
<xsl:element name="{local-name()}">
<xsl:value-of select="child::*"/>
</xsl:element>
......
......@@ -23,7 +23,7 @@ record:
- content: language
- caption: captioningFormat
subject:
- prefLabel: Keywords
- prefLabel: subject
genre:
- prefLabel: genre
placeOfCapture:
......
......@@ -39,7 +39,7 @@
</xsl:template>
<!-- content of child node is copied to parent node -->
<xsl:template match="title | format/essenceLocator | format/duration | format/start | language | references | coverage/spatial/location">
<xsl:template match="title | format/essenceLocator | format/duration | format/start | language | references | coverage/spatial/location | subject[not(@typeLabel)]">
<xsl:element name="{local-name()}">
<xsl:value-of select="child::*"/>
</xsl:element>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment