Commit 0eae3ed3 authored by Kim Mortimer's avatar Kim Mortimer
Browse files

Fix to named template, some cleanup

parent 63d46ab5
......@@ -26,14 +26,7 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:gmd="http://www.isotc211.org/2005/gmd"
xmlns:gmi="http://standards.iso.org/iso/19115/-2/gmi/1.0"
xmlns:gml="http://www.opengis.net/gml"
xmlns:gss="http://www.isotc211.org/2005/gss"
xmlns:gsr="http://www.isotc211.org/2005/gsr"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:dwc="http://rs.tdwg.org/dwc/terms/"
xmlns:dwr="http://rs.tdwg.org/dwc/dwcrecord/"
xmlns:MER="https://meridian.cs.dal.ca/"
xmlns:srv="http://www.isotc211.org/2005/srv"
xmlns:gco="http://www.isotc211.org/2005/gco"
xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs"
......
......@@ -33,9 +33,7 @@
xmlns:gmx="http://www.isotc211.org/2005/gmx"
xmlns:srv="http://www.isotc211.org/2005/srv"
xmlns:gmi="http://standards.iso.org/iso/19115/-2/gmi/1.0"
xmlns:gml="http://www.opengis.net/gml"
xmlns:gss="http://www.isotc211.org/2005/gss"
xmlns:gsr="http://www.isotc211.org/2005/gsr"
xmlns:gml="http://www.opengis.net/gml"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:dwc="http://rs.tdwg.org/dwc/terms/"
xmlns:dwr="http://rs.tdwg.org/dwc/dwcrecord/"
......
......@@ -29,13 +29,7 @@
xmlns:srv="http://www.isotc211.org/2005/srv"
xmlns:geonet="http://www.fao.org/geonetwork"
xmlns:gmi="http://standards.iso.org/iso/19115/-2/gmi/1.0"
xmlns:gml="http://www.opengis.net/gml"
xmlns:gss="http://www.isotc211.org/2005/gss"
xmlns:gsr="http://www.isotc211.org/2005/gsr"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:dwc="http://rs.tdwg.org/dwc/terms/"
xmlns:dwr="http://rs.tdwg.org/dwc/dwcrecord/"
xmlns:MER="https://meridian.cs.dal.ca/"
xmlns:java="java:org.fao.geonet.util.XslUtil" version="2.0">
<!--
......
......@@ -25,16 +25,14 @@
xmlns:gmd="http://www.isotc211.org/2005/gmd"
xmlns:gco="http://www.isotc211.org/2005/gco"
xmlns:gmi="http://standards.iso.org/iso/19115/-2/gmi/1.0"
xmlns:gml="http://www.opengis.net/gml"
xmlns:gss="http://www.isotc211.org/2005/gss"
xmlns:gsr="http://www.isotc211.org/2005/gsr"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:dwc="http://rs.tdwg.org/dwc/terms/"
xmlns:dwr="http://rs.tdwg.org/dwc/dwcrecord/"
xmlns:MER="https://meridian.cs.dal.ca/"
xmlns:geonet="http://www.fao.org/geonetwork"
version="2.0"
exclude-result-prefixes="gmd gmi gco geonet MER dwc dwr">
exclude-result-prefixes="gmd gmi gco geonet MER dwc dwr dcterms">
<!-- Compute title for all type of subtemplates. If none defined,
the title from the metadata title column is used. -->
......
......@@ -28,13 +28,7 @@
xmlns:gco="http://www.isotc211.org/2005/gco"
xmlns:gmd="http://www.isotc211.org/2005/gmd"
xmlns:gmi="http://standards.iso.org/iso/19115/-2/gmi/1.0"
xmlns:gml="http://www.opengis.net/gml"
xmlns:gss="http://www.isotc211.org/2005/gss"
xmlns:gsr="http://www.isotc211.org/2005/gsr"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:dwc="http://rs.tdwg.org/dwc/terms/"
xmlns:dwr="http://rs.tdwg.org/dwc/dwcrecord/"
xmlns:MER="https://meridian.cs.dal.ca/"
xmlns:srv="http://www.isotc211.org/2005/srv"
xmlns:geonet="http://www.fao.org/geonetwork"
xmlns:java="java:org.fao.geonet.util.XslUtil"
......
......@@ -31,13 +31,11 @@
xmlns:gmx="http://www.isotc211.org/2005/gmx"
xmlns:srv="http://www.isotc211.org/2005/srv"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gml="http://www.opengis.net/gml"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:geonet="http://www.fao.org/geonetwork"
xmlns:exslt="http://exslt.org/common"
xmlns:gmi="http://standards.iso.org/iso/19115/-2/gmi/1.0"
xmlns:gml="http://www.opengis.net/gml"
xmlns:gss="http://www.isotc211.org/2005/gss"
xmlns:gsr="http://www.isotc211.org/2005/gsr"
xmlns:gmi="http://standards.iso.org/iso/19115/-2/gmi/1.0"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:dwc="http://rs.tdwg.org/dwc/terms/"
xmlns:dwr="http://rs.tdwg.org/dwc/dwcrecord/"
......@@ -703,7 +701,7 @@
gco:CharacterString. To turn this on add a schema
suggestion.
-->
<xsl:template mode="iso19139.MERIDIAN" name="file-upload" match="*[gmx:FileName]">
<xsl:template name="file-uploadMER" mode="iso19139.MERIDIAN" match="*[gmx:FileName]">
<xsl:param name="schema"/>
<xsl:param name="edit"/>
......
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