Commit bbb4b457 authored by Ryan Gosse's avatar Ryan Gosse
Browse files

Tried to fix the tokenize function calls

parent 0c2fdc0c
...@@ -33,7 +33,8 @@ ...@@ -33,7 +33,8 @@
xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:dwc="http://rs.tdwg.org/dwc/terms/" xmlns:dwc="http://rs.tdwg.org/dwc/terms/"
xmlns:dwr="http://rs.tdwg.org/dwc/dwcrecord/" xmlns:dwr="http://rs.tdwg.org/dwc/dwcrecord/"
xmlns:geonet="http://www.fao.org/geonetwork" xmlns:geonet="http://www.fao.org/geonetwork"
xmlns:gml="http://www.opengis.net/gml"
xmlns:MER="https://meridian.cs.dal.ca/" xmlns:MER="https://meridian.cs.dal.ca/"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:daobs="http://daobs.org" xmlns:daobs="http://daobs.org"
...@@ -668,7 +669,7 @@ ...@@ -668,7 +669,7 @@
</xsl:when> </xsl:when>
<xsl:when test="./gml:exterior/gml:LinearRing/gml:posList"> <xsl:when test="./gml:exterior/gml:LinearRing/gml:posList">
<!-- This is an unbroken list of coordinates so there is only one value to get --> <!-- This is an unbroken list of coordinates so there is only one value to get -->
<xsl:variable name="temp" as="xs:string*" select="tokenize(gml:exterior/gml:LinearRing/gml:posList))"/> <xsl:variable name="temp" as="xs:string*" select="tokenize(gml:exterior/gml:LinearRing/gml:posList, '\s')"/>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
...@@ -700,7 +701,7 @@ ...@@ -700,7 +701,7 @@
<xsl:when test="./gml:LinearRing/gml:posList"> <xsl:when test="./gml:LinearRing/gml:posList">
<xsl:text>], <xsl:text>],
[</xsl:text> [</xsl:text>
<xsl:variable name="temp" as="xs:string*" select="tokenize(gml:LinearRing/gml:posList))"/> <xsl:variable name="temp" as="xs:string*" select="tokenize(gml:LinearRing/gml:posList, '\s')"/>
<xsl:text>]</xsl:text> <xsl:text>]</xsl:text>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
......
Markdown is supported
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