Skip to content

Commit

Permalink
adding a node computing the ORMS hyperlink based on the ORMS identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
Azzouz-Thuderoz committed Feb 18, 2024
1 parent def30a8 commit 93f5860
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xslt/software/xslt-software-transformation.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<xsl:value-of select="root/result/description"/>
</description>


<xsl:choose>
<xsl:when test= "root/result/source_code != ''">
<!-- will be instantiated for item #1 and item #2 -->
Expand Down Expand Up @@ -64,6 +65,9 @@
<relatedIdentifier relationType="IsReferencedBy"><xsl:value-of select="."/></relatedIdentifier>
</xsl:for-each>

<relatedIdentifier relationType="IsDescribedBy">
<xsl:value-of disable-output-escaping="yes" select="concat('https://orms.mfo.de/project@terms=', '&amp;', 'id=' , root/result/orms_id, '.html')"/>
</relatedIdentifier>
</resource>
</xsl:template>
</xsl:stylesheet>

0 comments on commit 93f5860

Please sign in to comment.