diff --git a/schemas/iso19139/src/main/plugin/iso19139/process/onlinesrc-add.xsl b/schemas/iso19139/src/main/plugin/iso19139/process/onlinesrc-add.xsl
index 0afe80eaa3d..e9c86757ca4 100644
--- a/schemas/iso19139/src/main/plugin/iso19139/process/onlinesrc-add.xsl
+++ b/schemas/iso19139/src/main/plugin/iso19139/process/onlinesrc-add.xsl
@@ -187,19 +187,29 @@ Note: It assumes that it will be adding new items in
-
+
+
+
+
+
-
+ and ($resourceHash = '' or digestUtils:md5Hex(normalize-space(.)) = $resourceHash)">
+
+
+
+
+
+
+
+
-
@@ -243,7 +253,7 @@ Note: It assumes that it will be adding new items in
-
+
diff --git a/schemas/iso19139/src/main/plugin/iso19139/process/onlinesrc-remove.xsl b/schemas/iso19139/src/main/plugin/iso19139/process/onlinesrc-remove.xsl
index 718f483eced..5ea7b210773 100644
--- a/schemas/iso19139/src/main/plugin/iso19139/process/onlinesrc-remove.xsl
+++ b/schemas/iso19139/src/main/plugin/iso19139/process/onlinesrc-remove.xsl
@@ -53,15 +53,25 @@ Stylesheet used to remove a reference to a online resource.
-
+
+
+
+
+
+ and ($resourceHash = '' or digestUtils:md5Hex(normalize-space(.)) = $resourceHash)
+ )">
+
+
+
+
+