Skip to content

Commit

Permalink
remove valueURI with ppn from subject and add a comment on topic #85
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteph-de committed Oct 11, 2023
1 parent 5cfecd0 commit 2bdfffe
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,6 @@
Beispiel: ikar:ppn:100659853 -->
<xsl:for-each-group select="./p:datafield[@tag='044K']" group-by="if (not(@occurrence)) then ('00') else (@occurrence)">
<mods:subject authority="k10plus_field_555X">
<xsl:if test="p:subfield[@code='9']">
<xsl:attribute name="valueURI">https://uri.gbv.de/document/{$MCR.PICA2MODS.DATABASE}:ppn:{p:subfield[@code='9']}</xsl:attribute>
</xsl:if>
<xsl:for-each select="current-group()">
<xsl:call-template name="processSubject" />
</xsl:for-each>
Expand Down Expand Up @@ -185,6 +182,11 @@
<xsl:param name="subjectPPN" />
<xsl:variable name="tp" select="pica2mods:queryPicaFromUnAPIWithPPN($MCR.PICA2MODS.DATABASE, $subjectPPN)" />
<xsl:variable name="pica0500_2" select="substring($tp/p:datafield[@tag='002@']/p:subfield[@code='0'],2,1)" />
<xsl:text>&#xA; </xsl:text>
<xsl:comment>
<xsl:value-of select="concat('[PPN: ', $subjectPPN, ']')" />
</xsl:comment>

<xsl:variable name="elementName">
<xsl:choose>
<xsl:when test="$pica0500_2='g'">mods:geographic</xsl:when>
Expand Down

0 comments on commit 2bdfffe

Please sign in to comment.