Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/remove gmd series tag #33

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion src/main/plugin/iso19139.rndt/update-fixed-info.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@
</xsl:variable>


<xsl:template match="gmd:identificationInfo/*/gmd:citation/gmd:CI_Citation" priority="10">
<xsl:template match="gmd:identificationInfo/gmd:MD_DataIdentification/gmd:citation/gmd:CI_Citation" priority="10">
<xsl:copy>
<xsl:apply-templates select="@*"/>
<xsl:apply-templates select="gmd:title"/>
Expand Down Expand Up @@ -342,6 +342,28 @@
</xsl:copy>
</xsl:template>

<!--Modifica CSI: Distinto comportamento dei servizi che non devono avere il tag gmd:series-->
<xsl:template match="gmd:identificationInfo/srv:SV_ServiceIdentification/gmd:citation/gmd:CI_Citation" priority="10">
<xsl:copy>
<xsl:apply-templates select="@*"/>
<xsl:apply-templates select="gmd:title"/>
<xsl:apply-templates select="gmd:alternateTitle"/>
<xsl:apply-templates select="gmd:date"/>
<xsl:apply-templates select="gmd:edition"/>
<xsl:apply-templates select="gmd:editionDate"/>

<gmd:identifier>
<gmd:MD_Identifier>
<gmd:code>
<gco:CharacterString><xsl:value-of select="$resId"/></gco:CharacterString>
</gmd:code>
</gmd:MD_Identifier>
</gmd:identifier>

<xsl:apply-templates select="gmd:citedResponsibleParty"/>
</xsl:copy>
</xsl:template>
<!--fine modifica CSI-->

<!-- ================================================================= -->
<!-- CI_Series -->
Expand Down