Skip to content

Commit

Permalink
Fix distinction of classifications and tags
Browse files Browse the repository at this point in the history
  • Loading branch information
claussni committed Feb 17, 2017
1 parent df9f850 commit 078bdd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions objects/qucosa_XSLT.xml
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/
<template name="classification">
<param name="modsElement"/>
<text>"classification":[</text>
<for-each select="$modsElement/mods:classification[@authority!='']">
<for-each select="$modsElement/mods:classification[@authority and @authority!='z']">
<call-template name="quote">
<with-param name="s" select="."/>
</call-template>
Expand All @@ -257,7 +257,7 @@ xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/
<template name="tag">
<param name="modsElement"/>
<text>"tag":[</text>
<for-each select="$modsElement/mods:classification[not(@authority)]">
<for-each select="$modsElement/mods:classification[not(@authority) or @authority='z']">
<call-template name="quote">
<with-param name="s" select="."/>
</call-template>
Expand Down

0 comments on commit 078bdd1

Please sign in to comment.