Skip to content
This repository was archived by the owner on Mar 18, 2020. It is now read-only.

Commit eeac8c4

Browse files
lsitumcritchlow
authored andcommitted
Fixes #345 - Correct Object Unique ID for sub-component.
1 parent 0865c75 commit eeac8c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/resources/dams42json-export.xsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@
676676
<xsl:for-each select="dams:hasComponent/dams:Component">
677677
<xsl:sort select="dams:order" data-type="number" order="ascending" />
678678
<xsl:call-template name="damsComponent">
679-
<xsl:with-param name="objectId"><xsl:value-of select="$objectId" /></xsl:with-param>
679+
<xsl:with-param name="objectId"><xsl:value-of select="substring-after(@rdf:about, '/20775/')" /></xsl:with-param>
680680
<xsl:with-param name="depth"><xsl:value-of select="$depth + 1"/></xsl:with-param>
681681
</xsl:call-template>
682682
</xsl:for-each>

0 commit comments

Comments
 (0)