From 1dcc860d2cafb16f899920ec53ad2681bed8de6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Garc=C3=ADa?= Date: Tue, 20 Jul 2021 09:46:01 +0200 Subject: [PATCH] Add attribute xlink:role for map online resources: - if the description ends with fra add in xlink:role='urn:xml:lang:fra-CAN' - if not (ie eng for fra-eng) add in xlink:role='urn:xml:lang:eng-CAN' --- .../process/onlinesrc-add.xsl | 33 ++++++++---- .../process/upgrade-mapresources-lang.xsl | 52 +++++++++++++++++++ 2 files changed, 76 insertions(+), 9 deletions(-) create mode 100644 src/main/plugin/iso19139.ca.HNAP/process/upgrade-mapresources-lang.xsl diff --git a/src/main/plugin/iso19139.ca.HNAP/process/onlinesrc-add.xsl b/src/main/plugin/iso19139.ca.HNAP/process/onlinesrc-add.xsl index 0d8abbc0..f4914eea 100644 --- a/src/main/plugin/iso19139.ca.HNAP/process/onlinesrc-add.xsl +++ b/src/main/plugin/iso19139.ca.HNAP/process/onlinesrc-add.xsl @@ -177,10 +177,16 @@ Insert is made in first transferOptions found. --> + + + + + + + + - - - + @@ -258,10 +264,10 @@ Insert is made in first transferOptions found. - useOnlyPTFreeText: + - - + + + + + + + + + + + @@ -446,10 +461,10 @@ Insert is made in first transferOptions found. - useOnlyPTFreeText: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +