Skip to content

Commit

Permalink
adjusting the id template to fix the bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Shirazos7 committed Dec 20, 2024
1 parent 61e1943 commit 2f76628
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions xslt/software/xslt_SWH_deposit.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@

<!-- Extract numeric identifier from the oai identifier and generate the id -->

<id>
<xsl:text>https://swmath.org/software/</xsl:text>
<xsl:value-of select="substring-after(., 'oai:swmath.org:')"/>
</id>
<id>
<xsl:text>https://swmath.org/software/</xsl:text>
<!-- Corrected extraction of numeric identifier -->
<xsl:value-of select="substring-after(/oai:OAI-PMH/oai:GetRecord/oai:record/oai:header/oai:identifier, 'oai:swmath.org:')"/>
</id>



Expand Down

0 comments on commit 2f76628

Please sign in to comment.