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

Tried to fix the tokenize function calls

parent 0c2fdc0c
......@@ -34,6 +34,7 @@
xmlns:dwc="http://rs.tdwg.org/dwc/terms/"
xmlns:dwr="http://rs.tdwg.org/dwc/dwcrecord/"
xmlns:geonet="http://www.fao.org/geonetwork"
xmlns:gml="http://www.opengis.net/gml"
xmlns:MER="https://meridian.cs.dal.ca/"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:daobs="http://daobs.org"
......@@ -668,7 +669,7 @@
</xsl:when>
<xsl:when test="./gml:exterior/gml:LinearRing/gml:posList">
<!-- 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:otherwise>
......@@ -700,7 +701,7 @@
<xsl:when test="./gml:LinearRing/gml:posList">
<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:when>
<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