Commit c7c55252 authored by Kim Mortimer's avatar Kim Mortimer
Browse files

beautify and cleanup update-fixed-info files

UNTESTED
parent ec2d3c77
......@@ -135,8 +135,6 @@
</xsl:template>
<!-- Add gmd:id attribute to all gml elements which required one. -->
<xsl:template match="gml:MultiSurface[not(@gml:id)]|gml:Polygon[not(@gml:id)]">
<xsl:copy>
......@@ -179,12 +177,26 @@
</xsl:choose>
</xsl:template>
<xsl:template match="gmd:*|gmi:*|MER:*">
<xsl:template match="gmd:*">
<xsl:call-template name="correct_ns_prefix">
<xsl:with-param name="element" select="."/>
<xsl:with-param name="prefix" select="'gmd'"/>
</xsl:call-template>
</xsl:template>
<xsl:template match="gmi:*">
<xsl:call-template name="correct_ns_prefix">
<xsl:with-param name="element" select="."/>
<xsl:with-param name="prefix" select="'gmi'"/>
</xsl:call-template>
</xsl:template>
<xsl:template match="MER:*">
<xsl:call-template name="correct_ns_prefix">
<xsl:with-param name="element" select="."/>
<xsl:with-param name="prefix" select="'MER'"/>
</xsl:call-template>
</xsl:template>
<xsl:template match="gco:*">
<xsl:call-template name="correct_ns_prefix">
......@@ -199,6 +211,27 @@
<xsl:with-param name="prefix" select="'gml'"/>
</xsl:call-template>
</xsl:template>
<xsl:template match="dcterms:*">
<xsl:call-template name="correct_ns_prefix">
<xsl:with-param name="element" select="."/>
<xsl:with-param name="prefix" select="'dcterms'"/>
</xsl:call-template>
</xsl:template>
<xsl:template match="dwr:*">
<xsl:call-template name="correct_ns_prefix">
<xsl:with-param name="element" select="."/>
<xsl:with-param name="prefix" select="'dwr'"/>
</xsl:call-template>
</xsl:template>
<xsl:template match="dwc:*">
<xsl:call-template name="correct_ns_prefix">
<xsl:with-param name="element" select="."/>
<xsl:with-param name="prefix" select="'dwc'"/>
</xsl:call-template>
</xsl:template>
<xsl:template match="@*|node()">
<xsl:copy>
......
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