Skip to content

Commit

Permalink
UBO-248 add root element modsCollection (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkrebs committed Jun 7, 2023
1 parent f61297d commit 644767e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ubo-common/src/main/resources/xsl/export-mods.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

<xsl:include href="mycoreobject-mods.xsl" />

<xsl:template match="/export">
<xsl:template match="/export | /basket[@type='objects'] | /exportCollection">
<mods:modsCollection xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-6.xsd">
<xsl:apply-templates select="mycoreobject" />
<xsl:apply-templates select="descendant::mycoreobject" />
</mods:modsCollection>
</xsl:template>

Expand Down

0 comments on commit 644767e

Please sign in to comment.