From ae2e15ee6604398ab5e59015a34e27b3b186de30 Mon Sep 17 00:00:00 2001 From: Robert Stephan Date: Thu, 28 Mar 2024 10:43:58 +0100 Subject: [PATCH] do not create a urn if recordID is empty --- .../src/main/resources/xsl/ubr/pica2mods-ubr-identifier.xsl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pica2mods-xslt/src/main/resources/xsl/ubr/pica2mods-ubr-identifier.xsl b/pica2mods-xslt/src/main/resources/xsl/ubr/pica2mods-ubr-identifier.xsl index ad7f185..6167d01 100644 --- a/pica2mods-xslt/src/main/resources/xsl/ubr/pica2mods-ubr-identifier.xsl +++ b/pica2mods-xslt/src/main/resources/xsl/ubr/pica2mods-ubr-identifier.xsl @@ -34,9 +34,11 @@ and not(./p:datafield[@tag='004U']/p:subfield[@code='0' and starts-with(., 'urn:nbn:de:gbv:519-')]) and ./p:datafield[@tag='002@']/p:subfield[@code='0' and contains('afFsv', substring(.,2,1))])"> - + + - + +