diff --git a/src/main/resources/xslt/biocol2json_ld.xsl b/src/main/resources/xslt/biocol2json_ld.xsl index e0e9d6849032b944fdf0576052a795004df43f85..c3ca2b52be24f5c61a8fa1dd50406f92b9acbe0c 100644 --- a/src/main/resources/xslt/biocol2json_ld.xsl +++ b/src/main/resources/xslt/biocol2json_ld.xsl @@ -1,8 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> -<xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" - xmlns:schema="http://schema.org" exclude-result-prefixes="xlink xsl xs schema"> +<xsl:stylesheet version="3.0" + xmlns:schema="http://schema.org" + 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" /> @@ -11,7 +13,7 @@ <xsl:param name="WebApplicationBaseURL" /> <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:value-of select="@ID" /> </xsl:variable> @@ -30,7 +32,7 @@ <!-- ID --> <xsl:text>
"@id":"</xsl:text> - <xsl:value-of select="concat($WebApplicationBaseURL,'receive/',./@ID)"/> + <xsl:value-of select="concat($WebApplicationBaseURL, 'receive/', ./@ID)"/> <xsl:text>"</xsl:text> <!-- identifier -->