From 43264e38b4c337dc1ad54616e4815a91f64c4dc7 Mon Sep 17 00:00:00 2001 From: Tom Schraitle Date: Mon, 12 Feb 2024 16:48:37 +0100 Subject: [PATCH] Use dcfilename if base is empty * Derive output filename from base and dcfilename * Introduce new parameter json-ld.ext (".json") that holds the filename extension --- suse2022-ns/xhtml/json-ld.xsl | 21 ++++++++++++++++----- suse2022-ns/xhtml/param.xsl | 2 ++ 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/suse2022-ns/xhtml/json-ld.xsl b/suse2022-ns/xhtml/json-ld.xsl index 1e6fd5cb..4b0241cb 100644 --- a/suse2022-ns/xhtml/json-ld.xsl +++ b/suse2022-ns/xhtml/json-ld.xsl @@ -155,9 +155,8 @@ - - + + @@ -190,8 +189,20 @@ - - + + + + + + + + + + + + + + diff --git a/suse2022-ns/xhtml/param.xsl b/suse2022-ns/xhtml/param.xsl index 322125ef..ba2e99d0 100644 --- a/suse2022-ns/xhtml/param.xsl +++ b/suse2022-ns/xhtml/param.xsl @@ -469,6 +469,8 @@ task before + + .json +02:00 SUSE Product & Solution Documentation Team