Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Infrastructure
iso19139.MERIDIAN
Commits
bbb4b457
Commit
bbb4b457
authored
Apr 12, 2019
by
Ryan Gosse
Browse files
Tried to fix the tokenize function calls
parent
0c2fdc0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/plugin/iso19139.MERIDIAN/index-fields/index.xsl
View file @
bbb4b457
...
...
@@ -33,7 +33,8 @@
xmlns:dcterms=
"http://purl.org/dc/terms/"
xmlns:dwc=
"http://rs.tdwg.org/dwc/terms/"
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: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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment