Skip to content

Commit 88e3e5f

Browse files
authored
Conversion from ISO19139 to ISO19115-3.2018: Manage organisation name with Anchor (#8683)
1 parent e821f86 commit 88e3e5f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/convert/ISO19139/mapping/CI_ResponsibleParty.xsl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
xmlns:mdq="http://standards.iso.org/iso/19157/-2/mdq/1.0"
4343
xmlns:gco="http://standards.iso.org/iso/19115/-3/gco/1.0"
4444
exclude-result-prefixes="#all">
45-
45+
4646
<xsl:import href="../utility/multiLingualCharacterStrings.xsl"/>
47-
47+
4848
<xd:doc xmlns:xd="http://www.oxygenxml.com/ns/doc/xsl" scope="stylesheet">
4949
<xd:desc>
5050
<xd:p>
@@ -62,8 +62,8 @@
6262

6363
<xsl:template match="gmd:CI_ResponsibleParty" mode="from19139to19115-3.2018">
6464
<xsl:choose>
65-
<xsl:when test="count(gmd:individualName/gcoold:CharacterString) + count(gmd:organisationName/gcoold:CharacterString) + count(gmd:positionName/gcoold:CharacterString) > 0">
66-
<!--
65+
<xsl:when test="count(gmd:individualName/gcoold:CharacterString) + count(gmd:organisationName/(gcoold:CharacterString|gmx:Anchor)) + count(gmd:positionName/gcoold:CharacterString) > 0">
66+
<!--
6767
CI_ResponsibleParties that include name elements (individualName, organisationName, or positionName) are translated to CI_Responsibilities.
6868
CI_ResponsibleParties without name elements are assummed to be placeholders for CI_OnlineResources. They are transformed later in the process
6969
using the CI_ResponsiblePartyToOnlineResource template
@@ -142,11 +142,11 @@
142142
</xsl:choose>
143143
</xsl:template>
144144
<xsl:template name="CI_ResponsiblePartyToOnlineResource">
145-
<!--
145+
<!--
146146
CI_ResponsibleParties that have no name elements and only a CI_OnlineResource
147147
are assumed to be used to add CI_OnlineResources to CI_Citations in 19115 where
148148
CI_Citations do not include CI_OnlineResources. In this case we, transform
149-
only the CI_OnlineResource element of the CI_ResponsibleParty
149+
only the CI_OnlineResource element of the CI_ResponsibleParty
150150
-->
151151
<xsl:apply-templates select=".//gmd:onlineResource" mode="from19139to19115-3.2018"/>
152152
</xsl:template>

0 commit comments

Comments
 (0)