diff --git a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/process/add-resource-id.xsl b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/process/add-resource-id.xsl
index 935954f09c0c..7ea1f1f8f53f 100644
--- a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/process/add-resource-id.xsl
+++ b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/process/add-resource-id.xsl
@@ -8,14 +8,16 @@
xmlns:cit="http://standards.iso.org/iso/19115/-3/cit/2.0"
xmlns:mdb="http://standards.iso.org/iso/19115/-3/mdb/2.0"
xmlns:mri="http://standards.iso.org/iso/19115/-3/mri/1.0"
+ xmlns:util="java:org.fao.geonet.util.XslUtil"
+ xmlns:util-uuid="java:java.util.UUID"
version="2.0" exclude-result-prefixes="#all">
- Current record does not contain resource identifier. Compute resource identifier from metadata record identifier.
- Cette fiche ne contient pas d'identifiant pour la ressource. Calculer l'identifiant à partir de l'identifiant de la fiche.
+ Current record does not contain resource identifier. Compute a resource identifier.
+ Cette fiche ne contient pas d'identifiant pour la ressource. Calculer un identifiant de ressource.
@@ -72,10 +74,19 @@
cit:edition|
cit:editionDate"/>
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/schemas/iso19139/src/main/plugin/iso19139/process/add-resource-id.xsl b/schemas/iso19139/src/main/plugin/iso19139/process/add-resource-id.xsl
index ef94f4208840..f686d65de003 100644
--- a/schemas/iso19139/src/main/plugin/iso19139/process/add-resource-id.xsl
+++ b/schemas/iso19139/src/main/plugin/iso19139/process/add-resource-id.xsl
@@ -29,25 +29,28 @@
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:gn-fn-iso19139="http://geonetwork-opensource.org/xsl/functions/profiles/iso19139"
xmlns:util="java:org.fao.geonet.util.XslUtil"
+ xmlns:util-uuid="java:java.util.UUID"
version="2.0" exclude-result-prefixes="#all">
- Current record does not contain resource identifier. Add the
- following identifier:
-
- Cette fiche ne contient pas d'identifiant pour la ressource. Ajouter
- l'identifiant suivant :
-
- Het huidige record bevat geen resource-ID. Voeg deze identifier toe:
+ Current record does not contain resource identifier. Compute a resource identifier.
+ Cette fiche ne contient pas d'identifiant pour la ressource. Calculer un identifiant de ressource.
+ Het huidige record bevat geen resource-ID. Bereken een bronidentificatie.
-
+
+
+
@@ -62,14 +65,11 @@
select="count($root//gmd:identificationInfo/*/gmd:citation/
gmd:CI_Citation/gmd:identifier/*/gmd:code[gco:CharacterString != '']) > 0"/>
-
- .
+
true
@@ -89,13 +89,13 @@
-
+
-
+
-
+
+
+ select="gmd:identifier"/>