Skip to content
Snippets Groups Projects
Commit 89f028e2 authored by Moritz Engelmann's avatar Moritz Engelmann
Browse files

format code

parent a009ae66
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" <xsl:stylesheet version="3.0"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:schema="http://schema.org"
xmlns:schema="http://schema.org" exclude-result-prefixes="xlink xsl xs schema"> xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="#all">
<xsl:import href="jsonld-common.xsl" /> <xsl:import href="jsonld-common.xsl" />
...@@ -11,7 +13,7 @@ ...@@ -11,7 +13,7 @@
<xsl:param name="WebApplicationBaseURL" /> <xsl:param name="WebApplicationBaseURL" />
<xsl:param name="CurrentLang" /> <xsl:param name="CurrentLang" />
<xsl:template match="/mycoreobject[contains(@ID,'_biocol_')]" mode="jsonld" priority="1"> <xsl:template match="/mycoreobject[contains(@ID, '_biocol_')]" mode="jsonld" priority="1">
<xsl:variable name="obj_id"> <xsl:variable name="obj_id">
<xsl:value-of select="@ID" /> <xsl:value-of select="@ID" />
</xsl:variable> </xsl:variable>
...@@ -30,7 +32,7 @@ ...@@ -30,7 +32,7 @@
<!-- ID --> <!-- ID -->
<xsl:text>&#xa;"@id":"</xsl:text> <xsl:text>&#xa;"@id":"</xsl:text>
<xsl:value-of select="concat($WebApplicationBaseURL,'receive/',./@ID)"/> <xsl:value-of select="concat($WebApplicationBaseURL, 'receive/', ./@ID)"/>
<xsl:text>"</xsl:text> <xsl:text>"</xsl:text>
<!-- identifier --> <!-- identifier -->
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment